mlpcardgame/Scenes/Scripts/BoardUI.gd

10 lines
203 B
GDScript3
Raw Normal View History

2019-05-04 22:01:00 +00:00
extends Control
onready var animation = $AnimationPlayer
func _card_selected(card: Card):
2019-05-04 22:01:00 +00:00
animation.play("fade ui card")
func _card_unselected(card: Card):
2019-05-04 22:01:00 +00:00
animation.play_backwards("fade ui card")