|
QSDK 1.1 Documentation |
#include <gamedev_helpers.h>
Inheritance diagram for Q::EntityBase:

Public Types | |
| typedef Com::Ptr< EntityBase > | PTR |
Public Member Functions | |
| Q::Text | name () const |
| Q::Group | group () const |
| Q::Concept | type () const |
| EntityInstance::PTR | instance () const |
| bool | persistent () const |
| void | setPersistent (bool) |
| void | destroy () |
| bool | ticking () const |
| void | setTicking (bool enabled) |
| float | tickDelay () const |
| void | setTickDelay (float) |
| virtual void | tick (float dt)=0 |
| virtual bool | embody (EntityInstance *) |
| virtual void | disembody (bool destroyed) |
| virtual void | entered (unsigned int yourType, EntityInstance *them, unsigned int theirType)=0 |
| virtual void | exited (unsigned int yourType, EntityInstance *them, unsigned int theirType)=0 |
| Utils::Result | internalQueryInterface_ (const Com::UUID &, void **) |
Public Attributes | |
| QCOM_DECLARE_COMPONENT | |
|
|
A COM pointer to an object of this class Reimplemented from Q::Entity. |
|
|
Destroy the entity |
|
|
Called when object gets deactivated Implements Q::Entity. |
|
|
Called when object gets activated Return true if and only if the activation has succeeded Implements Q::Entity. |
|
||||||||||||||||
|
Called when some tagged geometry of an entity enters is some tagged geometry of another geometry Implements Q::Entity. |
|
||||||||||||||||
|
Called when some tagged geometry of an entity exits is some tagged geometry of another geometry Implements Q::Entity. |
|
|
The group |
|
|
The entity instance |
|
||||||||||||
|
Implement Unknown::queryInterface(). |
|
|
The name |
|
|
Indicates whether the entity is persistent or not (a persistent entity cannot be deactivated) |
|
|
Set the persistence flag (a persistent entity cannot be deactivated) |
|
|
The ticking delay |
|
|
The ticking flag |
|
|
Called when entity is ticked Implements Q::Entity. |
|
|
The ticking delay |
|
|
The ticking flag |
|
|
The type |
|
|
COM Object Declaration Reimplemented from Q::MessagePeerBase. |
|
|
|
Qube Software Limited © 2000-2004
|
|