mlpcardgame/Scenes/Components/Card.gd

10 lines
169 B
GDScript3
Raw Normal View History

2019-05-04 21:42:07 +00:00
extends Spatial
2019-05-04 22:01:00 +00:00
signal card_selected()
signal card_unselected()
2019-05-04 21:42:07 +00:00
func _mouse_hover():
2019-05-04 22:01:00 +00:00
emit_signal("card_selected")
2019-05-04 21:42:07 +00:00
2019-05-04 22:01:00 +00:00
func _mouse_blur():
emit_signal("card_unselected")