Last active
October 20, 2018 03:07
-
-
Save henriiquecampos/67553c53a9b6f8c6b32184964b8e2ce4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Node | |
onready var active_battler : Battler = null | |
func play_turn(): | |
active_battler = get_child(0) | |
active_battler.active = true | |
yield(active_battler, "turn_finished") | |
move_child(active_battler, get_child_count() -1) | |
play_turn() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment