Class PoisonWatcher


  • public class PoisonWatcher
    extends java.lang.Object
    Helper class to synthesize an "is poisoned" stat value. The Crossfire server currently does not send this information, therefore drawinfo messages are tracked.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • PoisonWatcher

        public PoisonWatcher​(@NotNull
                             @NotNull Stats stats,
                             @NotNull
                             @NotNull CrossfireServerConnection crossfireServerConnection)
        Creates a new instance.
        Parameters:
        stats - the stats instance to notify
        crossfireServerConnection - the connection to watch