GPR5100 - Rollback
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
core::Engine Class Reference

Engine is a class that manages the layer between the system and the application and runs the game loop. More...

#include <engine.h>

Public Member Functions

void Run ()
 Run is a method that runs the Engine game loop.
 
void RegisterApp (App *app)
 
void RegisterSystem (SystemInterface *)
 
void RegisterOnEvent (OnEventInterface *)
 
void RegisterDraw (DrawInterface *)
 
void RegisterDrawImGui (DrawImGuiInterface *)
 

Protected Member Functions

void Init ()
 
void Update (sf::Time dt) const
 
void Destroy ()
 

Protected Attributes

std::vector< SystemInterface * > systems_
 
std::vector< OnEventInterface * > eventInterfaces_
 
std::vector< DrawInterface * > drawInterfaces_
 
std::vector< DrawImGuiInterface * > drawImGuiInterfaces_
 
std::unique_ptr< sf::RenderWindow > window_
 

Detailed Description

Engine is a class that manages the layer between the system and the application and runs the game loop.


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