Setup signals to give information from running cards
This commit is contained in:
@ -22,6 +22,12 @@ func _ready():
|
||||
$UI/DiceView.roll_dice()
|
||||
|
||||
|
||||
func do_damage_around_player(damage, damage_range):
|
||||
pass
|
||||
|
||||
func do_effect_around_player(effect, effect_range):
|
||||
pass
|
||||
|
||||
func set_player_to_move(movement_range : int = 0):
|
||||
player_to_move = true
|
||||
player_movement_range = movement_range
|
||||
|
@ -76,5 +76,8 @@ margin_left = 1.52588e-05
|
||||
margin_top = -7.62939e-06
|
||||
grow_horizontal = 0
|
||||
|
||||
[connection signal="do_damage" from="UI/CardView" to="." method="do_damage_around_player"]
|
||||
[connection signal="do_effect" from="UI/CardView" to="." method="do_effect_around_player"]
|
||||
[connection signal="do_movement" from="UI/CardView" to="." method="set_player_to_move"]
|
||||
[connection signal="return_dice" from="UI/CardView" to="UI/DiceView" method="roll_dice"]
|
||||
[connection signal="dice_selected" from="UI/DiceView" to="UI/CardView" method="set_currently_holding_dice"]
|
||||
|
Reference in New Issue
Block a user