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