| Modifier and Type | Field and Description |
|---|---|
| private Color | |
| 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 float | |
| public Color | |
| 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 | |
| protected void | update(float percent)
Implements abstract com. Called each frame. |
| color | back to summary |
|---|---|
| private Color color
| |
| end | back to summary |
|---|---|
| private float end | |
| start | back to summary |
|---|---|
| private float start | |
| AlphaAction | back to summary |
|---|---|
| public AlphaAction() | |
| begin | back to summary |
|---|---|
| protected void begin() Overrides com. Doc from com. Called the first time | |
| getAlpha | back to summary |
|---|---|
| public float getAlpha() | |
| getColor | back to summary |
|---|---|
public Color getColor()
| |
| 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. | |
| setAlpha | back to summary |
|---|---|
| public void setAlpha(float alpha) | |
| setColor | back to summary |
|---|---|
| public void setColor(Color color) Sets the color to modify. If null (the default), the | |
| update | back to summary |
|---|---|
| protected void update(float percent) Implements abstract com. Doc from com. Called each frame. | |