MoveToPositionSceneAction<T extends Movement> class
Created by
─▄▀─▄▀ ──▀──▀ █▀▀▀▀▀█▄ █░░░░░█─█ ▀▄▄▄▄▄▀▀
Rafaelbarbosatec on 04/03/22 SceneAction that move the componente in the game.
- Inheritance
-
- Object
- SceneAction
- MoveToPositionSceneAction
Constructors
- MoveToPositionSceneAction({dynamic id, required T component, required Vector2 newPosition})
Properties
- component → T
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → dynamic
-
finalinherited
- newPosition → Vector2
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runAction(
double dt, BonfireGameInterface game) → bool -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited