Game Project
Loading...
Searching...
No Matches
DebugWindow Class Reference

Public Member Functions

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.
 

Member Function Documentation

◆ Init()

void DebugWindow::Init ( sf::RenderWindow & window)

Initialise the debug window system.

Parameters
windowReference 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
windowReference to the active window
eventReference 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
windowReference to active window
delta_timeTime value from the GameMaster

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