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