Class PoisonWatcher
java.lang.Object
com.realtime.crossfire.jxclient.stats.PoisonWatcher
Helper class to listen on
Stats.CF_POISONED. If the Crossfire server
does not support this flag drawinfo messages are tracked instead.-
Constructor Summary
ConstructorsConstructorDescriptionPoisonWatcher(@NotNull Stats stats, @NotNull CrossfireServerConnection crossfireServerConnection) Creates a new instance. -
Method Summary
-
Constructor Details
-
PoisonWatcher
public PoisonWatcher(@NotNull @NotNull Stats stats, @NotNull @NotNull CrossfireServerConnection crossfireServerConnection) Creates a new instance.- Parameters:
stats- the stats instance to notifycrossfireServerConnection- the connection to watch
-