14 #define MAX_ENTITY 2000
42 std::
size_t getId() const;
49 inline
bool operator==(const
ECS::
Entity& cur, const
ECS::
Entity& oth) {
return cur.getId() == oth.getId(); }
Definition: Entity.hpp:30
Entity(std::size_t id, EntityType type)
Definition: Entity.cpp:16
EntityType getType() const
Definition: Entity.cpp:41
Entity(Entity &&) noexcept=default
Entity(Entity const &)=default
std::size_t getId() const
Definition: Entity.cpp:34
Definition: ComponentManager.hpp:14
bool operator<(const ECS::Entity &cur, const ECS::Entity &oth)
Definition: Entity.hpp:51
EntityType
Definition: Entity.hpp:17
@ BONUSENTITY
Definition: Entity.hpp:27
@ BUTTONS
Definition: Entity.hpp:22
@ ENEMY
Definition: Entity.hpp:18
@ PLAYER
Definition: Entity.hpp:17
@ OBSTACLES
Definition: Entity.hpp:20
@ PROJECTILES
Definition: Entity.hpp:19
@ GRAPHICS
Definition: Entity.hpp:21
@ MENUCONNECT
Definition: Entity.hpp:24
@ MENU
Definition: Entity.hpp:25
@ PARALLAX
Definition: Entity.hpp:23
@ ERROR
Definition: Entity.hpp:28
@ GAME
Definition: Entity.hpp:26
bool operator>(const ECS::Entity &cur, const ECS::Entity &oth)
Definition: Entity.hpp:50