Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
23 lines (14 sloc)
428 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Node | |
# Declare member variables here. Examples: | |
# var a = 2 | |
# var b = "text" | |
# Called when the node enters the scene tree for the first time. | |
func _ready(): | |
rustGameState.reset() | |
# Called every frame. 'delta' is the elapsed time since the previous frame. | |
#func _process(delta): | |
# pass | |
func _on_NewGame_pressed(): | |
get_tree().change_scene("res://GameScene.tscn") | |
func _on_QuitGame_pressed(): | |
get_tree().quit() |