feat: implemented interaction tooltips
This commit is contained in:
parent
34db607145
commit
2511ac69c0
7 changed files with 44 additions and 15 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "interactable.h"
|
||||
#include "heads_up_display.h"
|
||||
#include "macros.h"
|
||||
|
||||
void Interactable::_bind_methods() {
|
||||
|
|
@ -23,11 +24,3 @@ void Interactable::set_highlighted(PlayerInteractor *interactor, bool value) {
|
|||
bool Interactable::get_highlighted() const {
|
||||
return this->highlighted;
|
||||
}
|
||||
|
||||
void Interactable::set_highlight_tooltip(String value) {
|
||||
this->highlight_tooltip = value;
|
||||
}
|
||||
|
||||
String Interactable::get_highlight_tooltip() const {
|
||||
return this->highlight_tooltip;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue