addAction method
Implementation
Future addAction(JoystickAction action) async {
action.initialize(this, gameRef.camera.viewport);
await action.onLoad();
actions.add(action);
}
Future addAction(JoystickAction action) async {
action.initialize(this, gameRef.camera.viewport);
await action.onLoad();
actions.add(action);
}