R-Type  1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
Base.hpp
1/*
2** EPITECH PROJECT, 2023
3** Base.hpp
4** File description:
5** Base.hpp
6*/
7
8#ifndef URANUS_BASE_HPP
9#define URANUS_BASE_HPP
10
11#include "uranus/ecs/Entity.hpp"
12#include "uranus/engine/Dependencies.hpp"
13
14namespace engine {
15 class Base {
16 public:
17 virtual ~Base() = default;
18
19 explicit Base(const std::string &uniqueName);
20
21 const std::string &getUniqueName();
22
23 size_t getEntityId();
24
25 void setUniqueName(const std::string &uniqueName);
26
27 void setEntityId(size_t entityId);
28
29 protected:
30 std::string _uniqueName;
31 size_t _entityId;
32 };
33} // namespace engine
34
35#endif // URANUS_BASE_HPP
Definition: Base.hpp:15