mirror of
https://github.com/tonytins/citylimits
synced 2025-12-18 13:54:43 -05:00
Implemented basic buying functions
- Renamed more scripts - Switched license to Artistic 2.0
This commit is contained in:
parent
8435cab605
commit
0b60335591
17 changed files with 330 additions and 428 deletions
11
scripts/start_game.gd
Normal file
11
scripts/start_game.gd
Normal 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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue