Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Object Class Reference

#include <Object.h>

+ Inheritance diagram for Object:

Public Member Functions

 Object ()
 
virtual ~Object ()
 
virtual void Process ()
 
virtual void Render ()
 
virtual void OnEvent (const Message &msg)
 
uint64_t GetUID () const
 

Public Attributes

std::string name = "unnamed_object"
 

Protected Attributes

uint64_t uid = 0
 

Detailed Description

Definition at line 31 of file Object.h.

Constructor & Destructor Documentation

◆ Object()

Object::Object ( )
inline

Definition at line 34 of file Object.h.

References GetComponentTypeID_Static(), and uid.

+ Here is the call graph for this function:

◆ ~Object()

virtual Object::~Object ( )
inlinevirtual

Definition at line 41 of file Object.h.

Member Function Documentation

◆ GetUID()

uint64_t Object::GetUID ( ) const
inline

Definition at line 52 of file Object.h.

References uid.

Referenced by GameObject::Save().

+ Here is the caller graph for this function:

◆ OnEvent()

virtual void Object::OnEvent ( const Message msg)
inlinevirtual

◆ Process()

virtual void Object::Process ( )
inlinevirtual

◆ Render()

virtual void Object::Render ( )
inlinevirtual

Reimplemented in GameObject, ObjectComponent, VisualComponent, and _Sprite.

Definition at line 49 of file Object.h.

Member Data Documentation

◆ name

std::string Object::name = "unnamed_object"

◆ uid

uint64_t Object::uid = 0
protected

Definition at line 56 of file Object.h.

Referenced by ObjectFactory::FindObjectByUID(), GetUID(), Object(), and ObjectFactory::OnEvent().


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