the-crypt/Player/PlayerVariables.gd
2020-07-23 00:18:46 -05:00

17 lines
273 B
GDScript

extends Node
var position: Vector2 = Vector2()
var health = null
var energy = null
var unlocked: Array = []
var current_scene: String
var current_wand: int = -1
var current_spell: int = -1
func respawn():
health = null
energy = null
func reset_magic():
unlocked = []