public class GBGoTo extends BaseGhostBehavior
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxBurn |
protected SectorEntityToken |
to |
duration, interrupts| Constructor and Description |
|---|
GBGoTo(float duration,
SectorEntityToken to,
int maxBurn) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount,
SensorGhost ghost) |
addInterrupt, end, isDoneprotected SectorEntityToken to
protected int maxBurn
public GBGoTo(float duration, SectorEntityToken to, int maxBurn)
public void advance(float amount, SensorGhost ghost)
advance in interface GhostBehavioradvance in class BaseGhostBehavior