Skip to content

File Entity.hpp

File List > ECS > Entity.hpp

Go to the documentation of this file

#ifndef ENGINE_ECS_ENTITY_HPP_
#define ENGINE_ECS_ENTITY_HPP_
#include <cstddef>

namespace Engine {
using Entity = std::size_t;

// TODO: entity limit? optimizations when a large amount of entities are in the loop?
// reallocation for map/vector sizes can cause lag if a large amount is used

} // namespace Engine

#endif // ENGINE_ECS_ENTITY_HPP_