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, hasDelayRemaining
protected 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 GhostBehaviorInterrupt
shouldInterruptBehavior
in class BaseGhostBehaviorInterrupt
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.