the-crypt/Player/PlayerVariables.gd
2020-07-21 23:27:14 -05:00

19 lines
290 B
GDScript

extends Node
var position: Vector2 = Vector2()
var health = null
var energy = null
var unlocked: Array = []
var current_scene: String setget set_scene
func respawn():
health = null
energy = null
func reset_magic():
unlocked = []
func set_scene(new):
print(new)
current_scene = new