Class StatsWatcher


  • public class StatsWatcher
    extends java.lang.Object
    Monitors stat changes and generates appropriate sound effects.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StatsWatcher

        public StatsWatcher​(@NotNull
                            @NotNull Stats stats,
                            @NotNull
                            @NotNull JXCWindowRenderer windowRenderer,
                            @NotNull
                            @NotNull CrossfireServerConnection server,
                            @NotNull
                            @NotNull SoundManager soundManager)
        Creates a new instance.
        Parameters:
        stats - the stats instance to watch
        windowRenderer - the window renderer instance
        server - the crossfire server connection to watch
        soundManager - the sound manager instance to watch