| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private float | |
| private float | |
| private float | |
| private float |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | begin()
Overrides com. Called the first time |
| public int | |
| public float | |
| public float | |
| public float | |
| public float | |
| 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 | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | update(float percent)
Implements abstract com. Called each frame. |
| alignment | back to summary |
|---|---|
| private int alignment | |
| endX | back to summary |
|---|---|
| private float endX | |
| endY | back to summary |
|---|---|
| private float endY | |
| startX | back to summary |
|---|---|
| private float startX | |
| startY | back to summary |
|---|---|
| private float startY | |
| MoveToAction | back to summary |
|---|---|
| public MoveToAction() | |
| begin | back to summary |
|---|---|
| protected void begin() Overrides com. Doc from com. Called the first time | |
| getAlignment | back to summary |
|---|---|
| public int getAlignment() | |
| getStartX | back to summary |
|---|---|
| public float getStartX() Gets the starting X value, set in | |
| getStartY | back to summary |
|---|---|
| public float getStartY() Gets the starting Y value, set in | |
| getX | back to summary |
|---|---|
| public float getX() | |
| getY | back to summary |
|---|---|
| public float getY() | |
| 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. | |
| setAlignment | back to summary |
|---|---|
| public void setAlignment(int alignment) | |
| setPosition | back to summary |
|---|---|
| public void setPosition(float x, float y) | |
| setPosition | back to summary |
|---|---|
| public void setPosition(float x, float y, int alignment) | |
| setStartPosition | back to summary |
|---|---|
| public void setStartPosition(float x, float y) | |
| setX | back to summary |
|---|---|
| public void setX(float x) | |
| setY | back to summary |
|---|---|
| public void setY(float y) | |
| update | back to summary |
|---|---|
| protected void update(float percent) Implements abstract com. Doc from com. Called each frame. | |