Added WIP game modes; renamed control_modes folder to jet_controls
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user