Implemented basic buying functions

- Renamed more scripts
- Switched license to Artistic 2.0
This commit is contained in:
Tony Bark 2021-05-20 00:58:17 -04:00
parent 8435cab605
commit 0b60335591
17 changed files with 330 additions and 428 deletions

11
scripts/start_game.gd Normal file
View file

@ -0,0 +1,11 @@
extends Panel
onready var city_name = $Container/CityNameEdit.text
onready var budget = $Container/BudgetMenu
func _on_CreateBtn_pressed():
SimData.city_name = city_name
get_tree().change_scene("res://scenes/Game.tscn")