Architecture Arcade
Architecture Commune Arcade
IScene.hpp
Go to the documentation of this file.
1 /*
2 ** EPITECH PROJECT, 2023
3 ** Archi Arcade Promo 2026 Toulouse
4 ** File description:
5 ** Scene are regroupments of entities and systems
6 */
7 
8 #pragma once
9 
10 #include "IEntityManager.hpp"
11 #include "ISystemManager.hpp"
12 
13 namespace Arcade {
14  namespace Game {
18  class IScene {
19  public:
20  virtual ~IScene() = default;
30  virtual bool init() = 0;
38  virtual void close() = 0;
45  };
46  } // namespace Game
47 } // namespace Arcade
Definition: ArcadeStruct.hpp:10
Manage the creation of entities and their access.
Definition: IEntityManager.hpp:19
The IScene interface.
Definition: IScene.hpp:18
virtual bool init()=0
Create the scene.
virtual void close()=0
Close the scene.
virtual ECS::IEntityManager & getEntityManager()=0
Get the entity manager of the scene.
virtual ~IScene()=default