R-Type
R-Type project
KapEngine::Entity Class Reference
Inheritance diagram for KapEngine::Entity:
KapEngine::GameObject KapEngine::Graphical::GraphicalLib KapEngine::Graphical::LegacyGraphicalLib KapEngine::Graphical::Raylib::RaylibGraphical

Public Member Functions

 Entity (std::size_t __id=0)
 
void __setId (std::size_t id)
 set entity id More...
 
std::size_t getId () const
 Get the entity id. More...
 
virtual Entityoperator= (Entity const &en)
 
virtual bool operator== (Entity const &en)
 
virtual bool operator!= (Entity const &en)
 

Protected Attributes

std::size_t _id = 0
 

Member Function Documentation

◆ __setId()

void KapEngine::Entity::__setId ( std::size_t  id)
inline

set entity id

Parameters
id

◆ getId()

std::size_t KapEngine::Entity::getId ( ) const
inline

Get the entity id.

Returns
std::size_t

The documentation for this class was generated from the following file: