| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private float | |
| private Interpolation | |
| private boolean | |
| private float |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | act(float delta)
Implements abstract com. Updates the action based on time. |
| protected void | |
| protected void | |
| public void | finish()
Implements com. Skips to the end of the transition. |
| public float | |
| public Interpolation | |
| public float | |
| public boolean | |
| public boolean | |
| 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 | |
| public void | |
| public void | |
| public void | |
| protected abstract void |
| began | back to summary |
|---|---|
| private boolean began | |
| complete | back to summary |
|---|---|
| private boolean complete | |
| duration | back to summary |
|---|---|
| private float duration | |
| interpolation | back to summary |
|---|---|
| private Interpolation interpolation
| |
| reverse | back to summary |
|---|---|
| private boolean reverse | |
| time | back to summary |
|---|---|
| private float time | |
| TemporalAction | back to summary |
|---|---|
| public TemporalAction() | |
| TemporalAction | back to summary |
|---|---|
| public TemporalAction(float duration) | |
| TemporalAction | back to summary |
|---|---|
| public TemporalAction(float duration, Interpolation interpolation) | |
| 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 | |
| begin | back to summary |
|---|---|
| protected void begin() Called the first time | |
| end | back to summary |
|---|---|
| protected void end() Called the last time | |
| finish | back to summary |
|---|---|
| public void finish() Implements com. Skips to the end of the transition. | |
| getDuration | back to summary |
|---|---|
| public float getDuration() | |
| getInterpolation | back to summary |
|---|---|
public Interpolation getInterpolation()
| |
| getTime | back to summary |
|---|---|
| public float getTime() Gets the transition time so far. | |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() Returns true after | |
| isReverse | back to summary |
|---|---|
| public boolean isReverse() | |
| 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. | |
| setDuration | back to summary |
|---|---|
| public void setDuration(float duration) Sets the length of the transition in seconds. | |
| setInterpolation | back to summary |
|---|---|
| public void setInterpolation(Interpolation interpolation) | |
| setReverse | back to summary |
|---|---|
| public void setReverse(boolean reverse) When true, the action's progress will go from 100% to 0%. | |
| setTime | back to summary |
|---|---|
| public void setTime(float time) Sets the transition time so far. | |
| update | back to summary |
|---|---|
| protected abstract void update(float percent) Called each frame.
| |