public class GBITooClose extends BaseGhostBehaviorInterrupt
Modifier and Type | Field and Description |
---|---|
protected float |
distThreshold |
protected SectorEntityToken |
to |
protected SharedTrigger |
trigger |
delay
Constructor and Description |
---|
GBITooClose(float delay,
SectorEntityToken to,
float distThreshold) |
GBITooClose(float delay,
SectorEntityToken to,
float distThreshold,
SharedTrigger trigger) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldInterruptBehavior(SensorGhost ghost,
GhostBehavior behavior) |
advance, hasDelayRemaining
protected float distThreshold
protected SectorEntityToken to
protected SharedTrigger trigger
public GBITooClose(float delay, SectorEntityToken to, float distThreshold)
public GBITooClose(float delay, SectorEntityToken to, float distThreshold, SharedTrigger trigger)
public boolean shouldInterruptBehavior(SensorGhost ghost, GhostBehavior behavior)
shouldInterruptBehavior
in interface GhostBehaviorInterrupt
shouldInterruptBehavior
in class BaseGhostBehaviorInterrupt
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.