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