#include <entity.h>
Public Member Functions | |
| SpawnedEntityInstance ()=default | |
| rtti::ObjectPtr< EntityInstance > & | get () |
| const rtti::ObjectPtr< EntityInstance > & | get () const |
| const EntityInstance & | operator* () const |
| EntityInstance & | operator* () |
| EntityInstance * | operator-> () const |
| EntityInstance * | operator-> () |
| bool | operator== (const SpawnedEntityInstance &other) const |
| bool | operator== (const EntityInstance *ptr) const |
| bool | operator!= (const SpawnedEntityInstance &other) const |
| bool | operator!= (const EntityInstance *ptr) const |
| bool | operator< (const SpawnedEntityInstance &other) const |
| bool | operator> (const SpawnedEntityInstance &other) const |
| bool | operator<= (const SpawnedEntityInstance &other) const |
| bool | operator>= (const SpawnedEntityInstance &other) const |
A SpawnedEntityInstance is identical in functionality to a regular EntityInstance. It is only used to be able to distinguish between entities that were spawned during init and entities that were spawned at runtime. A SpawnedEntityInstance is created through the Scene::spawn interface and can be destroyed by passing this object to Scene::destroy.
|
default |
| rtti::ObjectPtr<EntityInstance>& get | ( | ) |
| const rtti::ObjectPtr<EntityInstance>& get | ( | ) | const |
| bool operator!= | ( | const EntityInstance * | ptr | ) | const |
| bool operator!= | ( | const SpawnedEntityInstance & | other | ) | const |
| EntityInstance& operator* | ( | ) |
| const EntityInstance& operator* | ( | ) | const |
| EntityInstance* operator-> | ( | ) |
| EntityInstance* operator-> | ( | ) | const |
| bool operator< | ( | const SpawnedEntityInstance & | other | ) | const |
| bool operator<= | ( | const SpawnedEntityInstance & | other | ) | const |
| bool operator== | ( | const EntityInstance * | ptr | ) | const |
| bool operator== | ( | const SpawnedEntityInstance & | other | ) | const |
| bool operator> | ( | const SpawnedEntityInstance & | other | ) | const |
| bool operator>= | ( | const SpawnedEntityInstance & | other | ) | const |