khanat-client/scenes/interfaces/creatures_menu/creature_box.gd

15 lines
280 B
GDScript3
Raw Normal View History

2020-03-21 09:10:26 +00:00
extends HBoxContainer
signal select_pressed( slot )
signal delete_pressed( slot )
var slot = null
var creature_filename = null
func _on_select_pressed():
emit_signal( "select_pressed", self.slot )
func _on_delete_pressed():
emit_signal( "delete_pressed", self.slot )