JoystickDirectional class
Constructors
-
JoystickDirectional.new({Future<
Sprite> ? spriteBackgroundDirectional, Future<Sprite> ? spriteKnobDirectional, bool isFixed = true, EdgeInsets margin = const EdgeInsets.only(left: 100, bottom: 100), double size = 80, Color color = Colors.blueGrey})
Properties
Methods
-
directionalDown(
int pointer, Offset localPosition) → void -
directionalMove(
int pointer, Offset localPosition) → void -
directionalUp(
int pointer) → void -
initialize(
Vector2 screenSize, JoystickController joystickController) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onLoad(
) → Future< void> -
render(
Canvas canvas) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
double dt) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited