Easys
A minimalist, header-only C++ ECS library for efficient and fuss-free entity and component management.
Loading...
Searching...
No Matches
include
easys
entity.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <stdint.h>
4
5
#include "
config.hpp
"
6
7
// stdint.h needs to be included for uint32_t for Ubuntu, otherwise fails the build.
8
9
namespace
Easys
{
10
11
using
Entity
=
EASYS_ENTITY_TYPE
;
12
const
Entity
MAX_ENTITIES
=
EASYS_ENTITY_LIMIT
;
13
14
}
// namespace Easys
config.hpp
EASYS_ENTITY_TYPE
#define EASYS_ENTITY_TYPE
Defines the underlying data type for an Entity ID.
Definition
config.hpp:12
EASYS_ENTITY_LIMIT
#define EASYS_ENTITY_LIMIT
Defines the maximum number of entities allowed in the ECS.
Definition
config.hpp:23
Easys
Definition
ecs.hpp:12
Easys::MAX_ENTITIES
const Entity MAX_ENTITIES
Definition
entity.hpp:12
Easys::Entity
EASYS_ENTITY_TYPE Entity
Definition
entity.hpp:11
Generated by
1.9.8