My Project
Public Member Functions | List of all members
System::DrawTextSystem Class Reference

DrawTextSystem class that handles the drawing of all the sprite entities. More...

#include <DrawTextSystem.hpp>

Public Member Functions

 DrawTextSystem ()
 Construct a new Event System object. More...
 
void operator() (Registry &registry, Sparse_array< component::cposition_t > &positions, Sparse_array< component::csceneid_t > &scenesId, Sparse_array< component::cscale_t > &scales, Sparse_array< component::ccolor_t > &colors, Sparse_array< component::ctext_t > &texts)
 Update the DrawTextSystem. More...
 

Detailed Description

DrawTextSystem class that handles the drawing of all the sprite entities.

Constructor & Destructor Documentation

◆ DrawTextSystem()

System::DrawTextSystem::DrawTextSystem ( )

Construct a new Event System object.

Member Function Documentation

◆ operator()()

void System::DrawTextSystem::operator() ( Registry registry,
Sparse_array< component::cposition_t > &  positions,
Sparse_array< component::csceneid_t > &  scenesId,
Sparse_array< component::cscale_t > &  scales,
Sparse_array< component::ccolor_t > &  colors,
Sparse_array< component::ctext_t > &  texts 
)

Update the DrawTextSystem.

Parameters
registrythe registry of the server
positionsthe sparse array of position entities
scenesIdthe sparse array of sceneId entities
scalesthe sparse array of scale entities
colorsthe sparse array of color entities
textsthe sparse array of text entities

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