2020-07-20 23:24:09 -05:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
var position: Vector2 = Vector2()
|
2020-07-21 00:13:31 -05:00
|
|
|
var health = null
|
|
|
|
var energy = null
|
2020-07-21 17:49:04 -05:00
|
|
|
var unlocked: Array = []
|
2020-07-21 23:39:14 -05:00
|
|
|
var current_scene: String
|
2020-07-23 00:18:46 -05:00
|
|
|
var current_wand: int = -1
|
|
|
|
var current_spell: int = -1
|
2020-07-20 23:55:16 -05:00
|
|
|
|
|
|
|
func respawn():
|
2020-07-21 00:13:31 -05:00
|
|
|
health = null
|
|
|
|
energy = null
|
2020-07-20 23:55:16 -05:00
|
|
|
|
|
|
|
func reset_magic():
|
|
|
|
unlocked = []
|