| Modifier and Type | Field and Description |
|---|---|
| pack-priv Array | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | act(float delta)
Implements abstract com. Updates the action based on time. |
| public void | |
| public Array | |
| public void | reset()
Overrides com. Implements com. Resets the optional state of this action to as if it were newly created, allowing the action to be pooled and reused. |
| public void | restart()
Overrides com. Sets the state of the action so it can be run again. |
| public void | setActor(Actor actor)
Overrides com. Sets the actor this action is attached to. |
| public String | toString()
Overrides com. Returns a string representation of the object. |
| actions | back to summary |
|---|---|
| pack-priv Array<Action> actions | |
| complete | back to summary |
|---|---|
| private boolean complete | |
| ParallelAction | back to summary |
|---|---|
| public ParallelAction() | |
| ParallelAction | back to summary |
|---|---|
| public ParallelAction(Action action1) | |
| ParallelAction | back to summary |
|---|---|
| public ParallelAction(Action action1, Action action2) | |
| ParallelAction | back to summary |
|---|---|
| public ParallelAction(Action action1, Action action2, Action action3) | |
| ParallelAction | back to summary |
|---|---|
| public ParallelAction(Action action1, Action action2, Action action3, Action action4) | |
| ParallelAction | back to summary |
|---|---|
| public ParallelAction(Action action1, Action action2, Action action3, Action action4, Action action5) | |
| act | back to summary |
|---|---|
| public boolean act(float delta) Implements abstract com. Doc from com. Updates the action based on time. Typically this is called each frame by | |
| addAction | back to summary |
|---|---|
| public void addAction(Action action) | |
| getActions | back to summary |
|---|---|
| public Array | |
| reset | back to summary |
|---|---|
| public void reset() Overrides com. Implements com. Doc from com. Resets the optional state of this action to as if it were newly created, allowing the action to be pooled and reused. State required to be set for every usage of this action or computed during the action does not need to be reset.
The default implementation calls If a subclass has optional state, it must override this method, call super, and reset the optional state. | |
| restart | back to summary |
|---|---|
| public void restart() Overrides com. Doc from com. Sets the state of the action so it can be run again. | |
| setActor | back to summary |
|---|---|
| public void setActor(Actor actor) Overrides com. Doc from com. Sets the actor this action is attached to. This also sets the
When set to null, if the action has a
This method is not typically a good place for an action subclass to query the actor's state because the action may not be
executed for some time, eg it may be | |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |