mirror of
https://github.com/tonytins/citylimits.git
synced 2025-03-15 12:21:22 +00:00
- Streamlined advisor window messages through signals. - Added TODO file - Ignore /except directory - News ticker based on the advisor code with text from SC3k with news from the game, with some exceptions. - New SC3k-like interface. - Added icons from Font Awesome.
15 lines
404 B
GDScript
15 lines
404 B
GDScript
extends Panel
|
|
|
|
onready var city_name = $Container/CityNameEdit
|
|
onready var mayor_name = $Container/MayorNameEdit
|
|
onready var budget = $Container/BudgetMenu
|
|
|
|
func _ready():
|
|
city_name.text = SimData.city_name
|
|
mayor_name.text = SimData.mayor_name
|
|
|
|
func _on_CreateBtn_pressed():
|
|
SimData.city_name = city_name.text
|
|
SimData.mayor_name = mayor_name.text
|
|
|
|
get_tree().change_scene("res://scenes/Game.tscn")
|