ECSM v0.2.0
DoNotDuplicateComponent

Component indicating that this entity should not be duplicated. More...

#include <ecsm.hpp>

Public Member Functions

ID< EntitygetEntity () const noexcept
 Returns component entity instance.
 

Protected Attributes

ID< Entityentity = {}
 

Detailed Description

Component indicating that this entity should not be duplicated.

Useful in cases when we need to mark important entities like main camera.