15 lines
280 B
GDScript3
15 lines
280 B
GDScript3
|
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 )
|