|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TargetingAction
A TargetingAction is an Action that uses a target.
A common type of TargetingAction is one which moves its object to the target. The purpose of this class is to make it easy to switch around targeted movement in behaviours, by using different TargetingActions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.nexttext.behaviour.Action |
---|
Action.ActionResult |
Method Summary | |
---|---|
void |
setTarget(float x,
float y)
Set a new target for this action. |
void |
setTarget(float x,
float y,
float z)
Set a new target for this action. |
void |
setTarget(Locatable target)
Set a new target for this action. |
void |
setTarget(processing.core.PVector target)
Set a new target for this action. |
Methods inherited from interface net.nexttext.behaviour.Action |
---|
behave, behave, behave, complete, getRequiredProperties |
Method Detail |
---|
void setTarget(Locatable target)
void setTarget(float x, float y)
void setTarget(float x, float y, float z)
void setTarget(processing.core.PVector target)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |