End of lesson 18 The command processor, Chapter 5
This commit is contained in:
7
scripts/game/GameManager.gd
Normal file
7
scripts/game/GameManager.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends Node
|
||||
|
||||
var defaultMapPath: String = "res://scenes/game/maps/world_map.tscn"
|
||||
var currentMapPath: String = ""
|
||||
|
||||
func startNewGame():
|
||||
currentMapPath = defaultMapPath
|
||||
Reference in New Issue
Block a user