the-crypt/Player/PlayerVariables.gd

16 lines
235 B
GDScript3
Raw Normal View History

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-20 23:24:09 -05:00
var unlocked: Array = [Globals.Conduit2]
2020-07-21 00:19:23 -05:00
var current_scene: String
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 = []
2020-07-21 00:13:31 -05:00