public class GBFollowClosely extends BaseGhostBehavior
Modifier and Type | Field and Description |
---|---|
protected float |
angleOffset |
protected float |
desiredRangeMax |
protected float |
desiredRangeMin |
protected IntervalUtil |
interval |
protected int |
maxBurn |
protected SectorEntityToken |
other |
duration, interrupts
Constructor and Description |
---|
GBFollowClosely(SectorEntityToken other,
float duration,
int maxBurn,
float desiredRangeMin,
float desiredRangeMax) |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount,
SensorGhost ghost) |
addInterrupt, end, isDone
protected SectorEntityToken other
protected int maxBurn
protected float desiredRangeMin
protected float desiredRangeMax
protected IntervalUtil interval
protected float angleOffset
public GBFollowClosely(SectorEntityToken other, float duration, int maxBurn, float desiredRangeMin, float desiredRangeMax)
public void advance(float amount, SensorGhost ghost)
advance
in interface GhostBehavior
advance
in class BaseGhostBehavior
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.