Refactored jet factory; added ControllerCommand enum to remove magic strings
This commit is contained in:
@@ -16,4 +16,4 @@ const MODES: Dictionary = {
|
||||
|
||||
func _ready() -> void:
|
||||
#MODES[mode].instantiate()
|
||||
jet_factory.create_player_jet(Globals.FACTION.ALLIES)
|
||||
jet_factory.create_player_jet(Globals.Faction.ALLIES)
|
||||
|
||||
Reference in New Issue
Block a user