Commit 2e87e7f3 authored by dsxfbz's avatar dsxfbz
Browse files

Merged with health display

parent 00b31ffb
......@@ -39,6 +39,8 @@ func _process(delta):
# Rule processing
match phase:
0: #Start phase - Prepare everything for turn processing
print(get_node("../OrderManager").delay)
print("Start phase: "+currActor)
#Load current actor
......
......@@ -154,9 +154,11 @@ func refresh() -> void:
#Find all entities in room and add them to delay{}
# for actor in get_node().actorList:
# addActor(actor)
add_actor("Player")
pass
add_actor("TestEnemy")
for actor in get_node("../../ActorManager").get_children():
add_actor(actor.name)
# add_actor("Player")
# pass
# add_actor("TestEnemy")
return
......
......@@ -31,7 +31,7 @@ func move(dir: String):
if dashRange != 1:
dashCharges -= 1
dashRange = 1
action_taken = true
action_taken = true
else:
print("-Actor Collision: "+get_node("..").get_actor_id_dir(name, dir))
# knockback(target)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment