updateDirectional method

Future updateDirectional(
  1. JoystickDirectional? directional
)

Implementation

Future updateDirectional(JoystickDirectional? directional) async {
  directional?.initialize(this, gameRef.camera.viewport);
  await directional?.onLoad();
  _directional = directional;
}