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