| Modifier and Type | Field and Description |
|---|---|
| private Action |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | act(float delta)
Implements abstract com. Updates the action based on time. |
| public Action | |
| 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 |
| action | back to summary |
|---|---|
| private Action action | |
| AddAction | back to summary |
|---|---|
| public AddAction() | |
| 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 | |
| getAction | back to summary |
|---|---|
| public Action getAction() | |
| 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. | |
| setAction | back to summary |
|---|---|
| public void setAction(Action action) | |