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