|
My Project
|
DrawSpriteSystem class that handles the drawing of all the sprite entities. More...
#include <DrawSpriteSystem.hpp>
Public Member Functions | |
| DrawSpriteSystem () | |
| Construct a new Draw System object. More... | |
| void | operator() (Registry ®istry, Sparse_array< component::cposition_t > &positions, Sparse_array< component::crect_t > &rectangles, Sparse_array< component::casset_t > &assets, Sparse_array< component::cassetid_t > &assetsId, Sparse_array< component::csceneid_t > &scenesId, Sparse_array< component::cscale_t > &scales, Sparse_array< component::cmusic_t > &musics, Sparse_array< component::cmusicid_t > &musicsId) |
| Update the DrawSpriteSystem. More... | |
DrawSpriteSystem class that handles the drawing of all the sprite entities.
| System::DrawSpriteSystem::DrawSpriteSystem | ( | ) |
Construct a new Draw System object.
| void System::DrawSpriteSystem::operator() | ( | Registry & | registry, |
| Sparse_array< component::cposition_t > & | positions, | ||
| Sparse_array< component::crect_t > & | rectangles, | ||
| Sparse_array< component::casset_t > & | assets, | ||
| Sparse_array< component::cassetid_t > & | assetsId, | ||
| Sparse_array< component::csceneid_t > & | scenesId, | ||
| Sparse_array< component::cscale_t > & | scales, | ||
| Sparse_array< component::cmusic_t > & | musics, | ||
| Sparse_array< component::cmusicid_t > & | musicsId | ||
| ) |
Update the DrawSpriteSystem.
| registry | the registry of the server |
| positions | the sparse array of position entities |
| rectangles | the sparse array of rectangle entities |
| assets | the sparse array of asset entities |
| assetsId | the sparse array of assetId entities |
| scenesId | the sparse array of sceneId entities |
| scales | the sparse array of scale entities |
| musics | the sparse array of music entities |
| musicsId | the sparse array of musicId entities |
1.8.17