Class SpecWatch
java.lang.Object
privbot.mechanics.SpecWatch
Single-owner special-energy observation history; it never treats an unreadable sample as an energy value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObserve a percent and orb state; null means unreadable.
-
Constructor Details
-
SpecWatch
public SpecWatch()
-
-
Method Details
-
observe
Observe a percent and orb state; null means unreadable. A FIRED result gives the interval in which energy fell, which may span several ticks; do not assign such a fire to one tick without further evidence. A drop to zero without a confirmed armed-to-unarmed transition is only suspect; the next consecutive readable zero confirms it. NONE means no qualifying drop was detected, not that a fire between samples is impossible. Duplicate samples return the original result.
-