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
Environment.h File Reference

Project TailorMade. More...

#include <ComponentManager.h>
#include <EntityManager.h>
#include <Subscription.h>

Go to the source code of this file.

Classes

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

Typedefs

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

Detailed Description

Project TailorMade.

Environment implementation.

Author
Thomas K/BIDI
Version
2.0

This Environment class is a huge interface for the EntityManager and ComponentManagers.

It can be used to update every aspect of this ECS environment, with the possibility to share the updates accross the environment for the systems.

The Environment also give you the possibility to make and load snapshots.

Typedef Documentation

◆ Snapshot

typedef struct Snapshot Snapshot

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.