Files
GrowlerFury/scripts/controllers/game_system/game_controller.gd
T

16 lines
340 B
GDScript
Raw Normal View History

class_name GameController extends BaseController
func _controller_message(event: BaseEvent) -> void:
if event is GameReadyEvent:
handle_game_ready_event()
func handle_game_ready_event() -> void:
controller_message_bus.message.call(
CreateAlliesJetEvent.new()
)
controller_message_bus.message.call(
CreateAxisJetEvent.new()
)