Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
ToyMaker::SceneSystem::SceneSubworld Class Reference

A subsystem of the SceneSystem which tracks, per world, which objects have had their Placement components updated. More...

Inheritance diagram for ToyMaker::SceneSystem::SceneSubworld:
ToyMaker::System< SceneSubworld, std::tuple< Placement >, std::tuple< Transform, SceneHierarchyData > >

Public Member Functions

 SceneSubworld (std::weak_ptr< ECSWorld > world)
 

Static Public Member Functions

static std::string getSystemTypeName ()
 

Private Member Functions

void onEntityUpdated (EntityID entityID) override
 

Detailed Description

A subsystem of the SceneSystem which tracks, per world, which objects have had their Placement components updated.

These objects then have their UniversalEntityIDs sent to the SceneSystem, which schedules an update to their transforms as soon as possible.

This sub-system only listens for updates on an entity's Placement component, as seen in its base class.


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