| Type | Property and Description |
|---|---|
javafx.collections.ObservableList<Action<T>> |
actions |
| Constructor and Description |
|---|
ActionComponent() |
| Modifier and Type | Method and Description |
|---|---|
javafx.collections.ObservableList<Action<T>> |
actionsProperty() |
void |
addAction(Action action)
Add an action for this entity to execute.
|
void |
clearActions()
Clears all running and pending actions.
|
Optional<Action<T>> |
getCurrentAction() |
Optional<Action<T>> |
getLastAction() |
Optional<Action<T>> |
getNextAction() |
boolean |
hasNextActions() |
void |
onAdded() |
void |
onRemoved() |
void |
onUpdate(double tpf) |
void |
removeAction(Action action) |
void |
removeCurrentAction()
Remove current executing action.
|
void |
removeLastAction()
Remove last added action.
|
public boolean hasNextActions()
public void addAction(Action action)
action - next action to executepublic void removeCurrentAction()
public void removeLastAction()
public void removeAction(Action action)
public void clearActions()
Copyright © 2018. All rights reserved.