MoveComponentSceneAction<T extends Movement> class

Created by

─▄▀─▄▀ ──▀──▀ █▀▀▀▀▀█▄ █░░░░░█─█ ▀▄▄▄▄▄▀▀

Rafaelbarbosatec on 04/03/22 SceneAction that move the componente in the game.

Inheritance

Constructors

MoveComponentSceneAction({dynamic id, required T component, required Vector2 newPosition, double? speed})

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
speed double?
final

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