TailorMade 2.0
Tailor Made is a high-performance C++20 ECS library with on-the-fly entity creation and JSON-based definitions for entities, components, and their relationships.
 
Loading...
Searching...
No Matches
Snapshot Struct Reference

Structure of the Snapshot, store the data of the desired components on a subset of entities. More...

#include <Environment.h>

Public Attributes

std::unordered_map< std::string, std::vector< std::pair< std::string, dataVector > > > entities
 Contain every data of the desired components for the registered entities.
 

Detailed Description

Structure of the Snapshot, store the data of the desired components on a subset of entities.

You can then use it to restore its state in the current environment.

Member Data Documentation

◆ entities

std::unordered_map<std::string, std::vector<std::pair<std::string, dataVector> > > Snapshot::entities

Contain every data of the desired components for the registered entities.


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