Engine
Raylib based game framework
Loading...
Searching...
No Matches
Public Member Functions | List of all members
System Class Referenceabstract

Base class for all systems. More...

#include <SystemManager.h>

Inheritance diagram for System:
Inheritance graph
[legend]

Public Member Functions

virtual void Update (const float deltaT)=0
 Updates the system.
 
virtual void Draw ()=0
 Renders the system.
 

Detailed Description

Base class for all systems.

All systems must derive from this class and implement Update() and Draw().

Member Function Documentation

◆ Draw()

virtual void System::Draw ( )
pure virtual

Renders the system.

Called once per frame after updating according to system priority Called before scenes

Implemented in AnimationSystem.

◆ Update()

virtual void System::Update ( const float  deltaT)
pure virtual

Updates the system.

Called once per frame before rendering according to system priority. Called before scenes.

Parameters
deltaTDuration of previous frame

Implemented in AnimationSystem.


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