public class GBIRunEveryFrame extends BaseGhostBehaviorInterrupt
| Modifier and Type | Field and Description |
|---|---|
protected Script |
script |
delay| Constructor and Description |
|---|
GBIRunEveryFrame(float delay,
Script script) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldInterruptBehavior(SensorGhost ghost,
GhostBehavior behavior) |
advance, hasDelayRemainingpublic GBIRunEveryFrame(float delay, Script script)
public boolean shouldInterruptBehavior(SensorGhost ghost, GhostBehavior behavior)
shouldInterruptBehavior in interface GhostBehaviorInterruptshouldInterruptBehavior in class BaseGhostBehaviorInterrupt