![]() |
No Name Engine
NoNameEngine est un moteur de jeu basé sur un système Entity Component System (ECS) utilisant Vulkan pour le rendu.
|
Very small scene container able to serialize and deserialize entities and a subset of components in a JSON style format. More...
#include <AScene.h>
Public Member Functions | |
~AScene () | |
Détruit la scène et libère ses entités. | |
bool | Save (const std::string &path) const |
Sauvegarde la scène dans un fichier. | |
bool | Load (const std::string &path) |
Charge la scène depuis un fichier. |
Public Attributes | |
std::vector< AEntity * > | entities |
Very small scene container able to serialize and deserialize entities and a subset of components in a JSON style format.
AScene::~AScene | ( | ) |
Détruit la scène et libère ses entités.
Détruit toutes les entités contenues dans la scène.
Definition at line 37 of file AScene.cpp.
bool AScene::Load | ( | const std::string & | path | ) |
Charge la scène depuis un fichier.
Charge la scène à partir d'un fichier JSON minimal.
Definition at line 91 of file AScene.cpp.
bool AScene::Save | ( | const std::string & | path | ) | const |
Sauvegarde la scène dans un fichier.
Sauvegarde la scène dans un fichier JSON minimal.
Definition at line 49 of file AScene.cpp.