feat: game loop
This commit is contained in:
parent
7d05df6e39
commit
d47c2e513b
12 changed files with 97 additions and 37 deletions
|
|
@ -26,7 +26,7 @@ func _on_update(transition):
|
|||
if monster:
|
||||
monster_name_label.text = "Name: " + monster.card.id
|
||||
monster_health_label.text = "Health: " + str(monster.health)
|
||||
incoming_damage_label.text = "Incoming Damage: " + str(monster.damage_incoming)
|
||||
incoming_damage_label.text = "Incoming Damage: " + str(monster.health_delta)
|
||||
if match_manager.phase in [Match.Phase.SUMMON, Match.Phase.SUPPORT_1, Match.Phase.SUPPORT_2]:
|
||||
for card: Card in player.hand:
|
||||
if match_manager.phase == Match.Phase.SUMMON and card is not MonsterCard:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue