way too many changes to list, oops. big rewrite.
This commit is contained in:
@ -4,8 +4,16 @@ signal button_interacted(value: int, callback: Hero)
|
||||
|
||||
@export var button_press_value: int = 0
|
||||
@export var press_cost: int = 0
|
||||
@export var hover_text: String = "#Interact# to [do thing]"
|
||||
@export var hover_text: String = "[center]#Interact# to [do thing]"
|
||||
|
||||
|
||||
func press(callback_player: Hero) -> void:
|
||||
button_interacted.emit(button_press_value, callback_player)
|
||||
|
||||
|
||||
func enable_hover_effect() -> void:
|
||||
pass
|
||||
|
||||
|
||||
func disable_hover_effect() -> void:
|
||||
pass
|
||||
|
Reference in New Issue
Block a user