![]() |
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.
| NNE::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 38 of file AScene.cpp.
| bool NNE::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 92 of file AScene.cpp.
| bool NNE::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 50 of file AScene.cpp.