Added WIP game modes; renamed control_modes folder to jet_controls

This commit is contained in:
2026-10-18 18:11:32 -05:00
parent 79b7265688
commit 4462600e06
23 changed files with 57 additions and 32 deletions
+19
View File
@@ -0,0 +1,19 @@
class_name GameMode extends Node
const MODES: Dictionary = {
0: preload("res://scripts/game_modes/dog_fight.gd"),
1: preload("res://scripts/game_modes/dog_fight_waves.gd")
}
@export_enum(
"Dog Fight:0",
"Dog Fight Waves:1"
) var mode: int = 0
@export var jetFactory: JetFactory
func _ready() -> void:
#MODES[mode].instantiate()
jetFactory.create_player_jet(Globals.FACTION.ALLIES)