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