Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | List of all members
UIRenderingSystem Class Reference

#include <ECS_Systems.h>

+ Inheritance diagram for UIRenderingSystem:
+ Collaboration diagram for UIRenderingSystem:

Public Member Functions

 UIRenderingSystem ()
 
virtual void Render () override
 
void RenderHUD (const CameraTransform &cam)
 
void RenderInGameMenu (const CameraTransform &cam)
 
void RenderDebugOverlay (const CameraTransform &cam)
 
- Public Member Functions inherited from ECS_System
 ECS_System ()
 
virtual void Process ()
 
virtual void RenderDebug ()
 
void AddEntity (EntityID entity)
 
void RemoveEntity (EntityID entity)
 

Additional Inherited Members

- Public Attributes inherited from ECS_System
ComponentSignature requiredSignature
 
std::set< EntityIDm_entities
 

Detailed Description

Definition at line 208 of file ECS_Systems.h.

Constructor & Destructor Documentation

◆ UIRenderingSystem()

UIRenderingSystem::UIRenderingSystem ( )

Definition at line 2476 of file ECS_Systems.cpp.

References GetComponentTypeID_Static(), and ECS_System::requiredSignature.

+ Here is the call graph for this function:

Member Function Documentation

◆ Render()

void UIRenderingSystem::Render ( )
overridevirtual

◆ RenderDebugOverlay()

void UIRenderingSystem::RenderDebugOverlay ( const CameraTransform cam)

Definition at line 2678 of file ECS_Systems.cpp.

Referenced by Render().

+ Here is the caller graph for this function:

◆ RenderHUD()

void UIRenderingSystem::RenderHUD ( const CameraTransform cam)

Definition at line 2531 of file ECS_Systems.cpp.

References BoundingBox_data::boundingBox, World::Get(), World::GetComponent(), GetComponentTypeID_Static(), World::HasComponent(), ECS_System::m_entities, and GameEngine::renderer.

Referenced by Render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RenderInGameMenu()

void UIRenderingSystem::RenderInGameMenu ( const CameraTransform cam)

Definition at line 2572 of file ECS_Systems.cpp.

References GameMenu::Get(), GetComponentTypeID_Static(), GameMenu::GetSelectedOption(), GameMenu::Quit, GameEngine::renderer, renderer, GameMenu::Restart, GameMenu::Resume, GameEngine::screenHeight, GameEngine::screenWidth, and SYSTEM_LOG.

Referenced by Render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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