Refactored to be controller centric; added message buss pattern with early support eent types
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
class_name GameMode extends Node
|
||||
|
||||
|
||||
const MODES: Dictionary = {
|
||||
0: preload("res://scripts/controllers/game_system/game_modes/dog_fight.gd"),
|
||||
1: preload("res://scripts/controllers/game_system/game_modes/dog_fight_waves.gd")
|
||||
}
|
||||
|
||||
@export_enum(
|
||||
"Dog Fight:0",
|
||||
"Dog Fight Waves:1"
|
||||
) var mode: int = 0
|
||||
|
||||
@export var jet_factory: JetFactory
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
#MODES[mode].instantiate()
|
||||
pass
|
||||
Reference in New Issue
Block a user