FYP  1.0.0
Final Year Project -- Alexander Meuer
gui::HudItem Class Reference

Interface for non-interactable hud elements. Non-interactable hud elements are for show, the user can't click on or use them. Therefore, gui::Button does not derive from this class. More...

#include <HUD.hpp>

Inheritance diagram for gui::HudItem:
Inheritance graph
Collaboration diagram for gui::HudItem:
Collaboration graph

Public Member Functions

virtual void update (float deltaSeconds)
 
bool isFlaggedForRemoval () const
 

Protected Member Functions

void flagForRemoval ()
 

Private Attributes

bool mRemovalFlag
 

Detailed Description

Interface for non-interactable hud elements. Non-interactable hud elements are for show, the user can't click on or use them. Therefore, gui::Button does not derive from this class.

Remarks
The flagForRemoval() method allows derived classes to ask the containing hud to erase them.

The documentation for this class was generated from the following file: