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