RavEngine
Loading...
Searching...
No Matches
RavEngine::GameObject Struct Reference
Inheritance diagram for RavEngine::GameObject:
[legend]
Collaboration diagram for RavEngine::GameObject:
[legend]

Public Member Functions

void Create ()
 
- Public Member Functions inherited from RavEngine::Entity
 Entity (entity_t id, World *owner)
 
 Entity (const Entity &)=default
 
bool operator== (const Entity &other) const
 
template<typename T , typename ... A>
T & EmplaceComponent (A &&... args) const
 
template<typename T >
void DestroyComponent () const
 
template<typename T >
bool HasComponent () const
 
template<typename T >
bool HasComponentOfBase () const
 
template<typename T >
auto GetAllComponentsPolymorphic () const
 
template<typename T >
T & GetComponent () const
 
entity_t GetID () const
 
void Destroy ()
 
bool IsValid () const
 
World * GetWorld () const
 
void SetEntityRenderlayer (renderlayer_t layers) const
 
void SetEntityAttributes (perobject_t attributes)
 
perobject_t GetEntityAttributes () const
 
Transform & GetTransform ()
 
void Create ()
 

Additional Inherited Members

- Public Attributes inherited from RavEngine::Entity
World * world = nullptr
 
entity_t id = {INVALID_ENTITY}
 

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