Class PoisonWatcher

java.lang.Object
com.realtime.crossfire.jxclient.stats.PoisonWatcher

public class PoisonWatcher extends Object
Helper class to listen on Stats.CF_POISONED. If the Crossfire server does not support this flag drawinfo messages are tracked instead.
  • Constructor Details

    • 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