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