|
| void | Init (sf::RenderWindow &window) |
| | Initialise the debug window system.
|
| |
|
void | Shutdown () |
| | Close the debug window system.
|
| |
| void | ProcessEvent (sf::RenderWindow &window, const sf::Event &event) |
| | Update ImGui to process all the events, like clicking the buttons.
|
| |
| void | Update (sf::RenderWindow &window, sf::Time delta_time) |
| | Call once per frame, updates all the values.
|
| |
| void | Render (sf::RenderWindow &window_) |
| | Displays all the UI elements on the screen.
|
| |
◆ Init()
| void DebugWindow::Init |
( |
sf::RenderWindow & | window | ) |
|
Initialise the debug window system.
- Parameters
-
| window | Reference to the active window. |
◆ ProcessEvent()
| void DebugWindow::ProcessEvent |
( |
sf::RenderWindow & | window, |
|
|
const sf::Event & | event ) |
Update ImGui to process all the events, like clicking the buttons.
- Parameters
-
| window | Reference to the active window |
| event | Reference to an event that has happened |
◆ Render()
| void DebugWindow::Render |
( |
sf::RenderWindow & | window_ | ) |
|
Displays all the UI elements on the screen.
- Parameters
-
| window_ | Reference to the active window |
◆ Update()
| void DebugWindow::Update |
( |
sf::RenderWindow & | window, |
|
|
sf::Time | delta_time ) |
Call once per frame, updates all the values.
- Parameters
-
| window | Reference to active window |
| delta_time | Time value from the GameMaster |
The documentation for this class was generated from the following files: