|
Potato Engine
|
Manages global HUD. More...
#include <HUDController.hpp>
Public Member Functions | |
| virtual void | RemoveWidget (std::string UID)=0 |
| Remove a Widget from the screen. | |
| template<typename WidgetClass> | |
| WidgetClass * | AddWidget (std::string UID) |
| Construct and add widget to the screen. | |
| virtual Widget * | GetWidget (std::string UID) const =0 |
| Gets widget by UID. | |
Protected Member Functions | |
| virtual void | RegisterWidget (Widget *widget)=0 |
Manages global HUD.
Definition at line 10 of file HUDController.hpp.
|
pure virtual |
Remove a Widget from the screen.
| UID | UID of the widget to remove |
| WidgetClass * IHUDController::AddWidget | ( | std::string | UID | ) |
Construct and add widget to the screen.
| WidgetClass | Specific class of widget to add |
| UID | Unique ID to identify widget |
Definition at line 40 of file HUDController.hpp.