feat: added HUD object
This commit is contained in:
parent
3ceabd50eb
commit
7e3afd6c64
9 changed files with 64 additions and 20 deletions
|
|
@ -6,12 +6,16 @@
|
|||
class HeadsUpDisplay : public Control {
|
||||
GDCLASS(HeadsUpDisplay, Control);
|
||||
static void _bind_methods();
|
||||
static HeadsUpDisplay *singleton_instance;
|
||||
void on_child_entered(Node *node);
|
||||
void enter_tree();
|
||||
void exit_tree();
|
||||
|
||||
protected:
|
||||
void _notification(int what);
|
||||
|
||||
public:
|
||||
static HeadsUpDisplay *get_singleton();
|
||||
void set_reticle_visibility(bool visible);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue