ld-39-jam/EnemyGrunt.gd

11 lines
186 B
GDScript3
Raw Normal View History

2017-07-30 20:57:41 +01:00
extends KinematicBody2D
func _ready():
var t = get_tree()
var r = t.get_root()
var n = r.get_node("Game/MinimapControl")
n.register_entity(self)
func type():
return "EnemyGrunt"