Uranus  1.0.1.0
Uranus is a GameEngine written in C++
Loading...
Searching...
No Matches
EntityManager.hpp
1/*
2** EPITECH PROJECT, 2023
3** EntityManager.hpp
4** File description:
5** EntityManager.hpp
6*/
7
8#ifndef URANUS_ENTITYMANAGER_HPP
9#define URANUS_ENTITYMANAGER_HPP
10
11#include "Base.hpp"
12
13namespace engine {
15 public:
16 explicit EntityManager() = default;
17
18 ~EntityManager() = default;
19
20 void addPrefab(const std::shared_ptr<engine::Base> &prefab);
21
22 void killAllPrefabs();
23
24 std::shared_ptr<engine::Base> getPrefabByName(const std::string &prefabName);
25
26 private:
27 std::vector<std::shared_ptr<engine::Base>> _prefabs;
28 };
29} // namespace engine
30
31#endif // URANUS_ENTITYMANAGER_HPP
Definition: EntityManager.hpp:14