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