Skip to content
Permalink
using-rust-gam…
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (14 sloc) 428 Bytes
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()