| Modifier and Type | Field and Description |
|---|---|
| private Color | |
| private final Color | |
| 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 Color | |
| 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 final Color end | |
| startA | back to summary |
|---|---|
| private float startA | |
| startB | back to summary |
|---|---|
| private float startB | |
| startG | back to summary |
|---|---|
| private float startG | |
| startR | back to summary |
|---|---|
| private float startR | |
| ColorAction | back to summary |
|---|---|
| public ColorAction() | |
| begin | back to summary |
|---|---|
| protected void begin() Overrides com. Doc from com. Called the first time | |
| getColor | back to summary |
|---|---|
public Color getColor()
| |
| getEndColor | back to summary |
|---|---|
| public Color getEndColor() | |
| 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. | |
| setColor | back to summary |
|---|---|
| public void setColor(Color color) Sets the color to modify. If null (the default), the | |
| setEndColor | back to summary |
|---|---|
| public void setEndColor(Color color) Sets the color to transition to. Required. | |
| update | back to summary |
|---|---|
| protected void update(float percent) Implements abstract com. Doc from com. Called each frame. | |