public class GBITooCloseToOther extends BaseGhostBehaviorInterrupt
| Modifier and Type | Field and Description |
|---|---|
protected float |
distThreshold |
protected SectorEntityToken |
other |
protected SectorEntityToken |
to |
delay| Constructor and Description |
|---|
GBITooCloseToOther(float delay,
SectorEntityToken to,
SectorEntityToken other,
float distThreshold) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldInterruptBehavior(SensorGhost ghost,
GhostBehavior behavior) |
advance, hasDelayRemainingprotected float distThreshold
protected SectorEntityToken to
protected SectorEntityToken other
public GBITooCloseToOther(float delay, SectorEntityToken to, SectorEntityToken other, float distThreshold)
public boolean shouldInterruptBehavior(SensorGhost ghost, GhostBehavior behavior)
shouldInterruptBehavior in interface GhostBehaviorInterruptshouldInterruptBehavior in class BaseGhostBehaviorInterrupt