Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
IEntity.h File Reference
#include "util/Handle.h"

Go to the source code of this file.

Classes

class  ECS::IEntity
 

Namespaces

namespace  ECS
 

Macros

#define ECS__I_ENTITY_H__
 

Typedefs

using ECS::EntityTypeId = TypeID
 
using ECS::EntityId = util::Handle64
 

Functions

template<class T , class ... P>
T * ECS::AddComponent (ComponentManager *mgr, const EntityId id, P &&... param)
 
template<class T >
T * ECS::GetComponent (ComponentManager *mgr, const EntityId id)
 
template<class T >
void ECS::RemoveComponent (ComponentManager *mgr, const EntityId id)
 

Variables

static const EntityId ECS::INVALID_ENTITY_ID = util::Handle64::INVALID_HANDLE
 

Macro Definition Documentation

◆ ECS__I_ENTITY_H__

#define ECS__I_ENTITY_H__

File: include\IEntity.h.

Summary: Base entity class containing no morte than entity id and state falgs.

Definition at line 9 of file IEntity.h.