|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.nexttext.behaviour.AbstractAction
net.nexttext.behaviour.standard.Follow
public class Follow
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.nexttext.behaviour.Action |
|---|
Action.ActionResult |
| Constructor Summary | |
|---|---|
Follow(Locatable followed)
Follow the motion of an object. |
|
Follow(processing.core.PVector vector)
Follow the motion of a vector point. |
|
| Method Summary | |
|---|---|
Action.ActionResult |
behave(TextObject to)
Apply the action to a TextObject. |
void |
setTarget(float x,
float y)
Sets a target to approach. |
void |
setTarget(float x,
float y,
float z)
Sets a target to approach. |
void |
setTarget(Locatable target)
Set the followed object. |
void |
setTarget(processing.core.PVector target)
Sets a target to approach. |
| Methods inherited from class net.nexttext.behaviour.AbstractAction |
|---|
behave, behave, complete, getDisplayName, getRequiredProperties, makeBehaviour, properties, setDisplayName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.nexttext.behaviour.Action |
|---|
behave, behave, complete, getRequiredProperties |
| Constructor Detail |
|---|
public Follow(Locatable followed)
followed - the followed objectpublic Follow(processing.core.PVector vector)
vector - point to follow| Method Detail |
|---|
public void setTarget(Locatable target)
setTarget in interface TargetingActiontarget - the followed object
public void setTarget(float x,
float y)
setTarget in interface TargetingAction
public void setTarget(float x,
float y,
float z)
setTarget in interface TargetingActionpublic void setTarget(processing.core.PVector target)
setTarget in interface TargetingActionpublic Action.ActionResult behave(TextObject to)
behave in interface Actionbehave in class AbstractActionto - the affected text object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||