ActionInstant class
An action that doesn't have a duration. If this class is overridden to create custom instant actions, only the fire method should be overriden.
- Inheritance
- Implemented by
Constructors
Properties
Methods
-
fire(
) → void - Called when the action is executed. If you are implementing your own ActionInstant, override this method.
-
step(
double dt) → void -
Moves to the next time step in an action,
dt
is the delta time since the last time step in seconds. Typically this method is called from the ActionController. -
update(
double t) → void -
Sets the action to a specific point in time. The
t
value that is passed in is a normalized value 0.0 to 1.0 of the duration of the action. Every action will always recieve a callback with the end time point (1.0), unless it is cancelled. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
other) → bool -
The equality operator. [...]
inherited