|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwitchableMovement
Movement models to be used by ExtendedMovementModels should implement this interface
Method Summary | |
---|---|
Coord |
getLastLocation()
Get the last location the getPath() of this movement model has returned |
boolean |
isReady()
Checks if the movement model is finished doing its task and it's time to switch to the next movement model. |
void |
setLocation(Coord lastWaypoint)
Tell the movement model what its current location is |
Method Detail |
---|
void setLocation(Coord lastWaypoint)
lastWaypoint
- Coord getLastLocation()
boolean isReady()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |