|
QSDK 1.1 Documentation |
#include <Q/gamedev.h>
Inheritance diagram for Q::EntityInstance2:

Public Types | |
| typedef Com::Ptr< EntityInstance2 > | PTR |
| enum | MoveMode { NotMoving, MoveReferenceGroup, StartPosition } |
Public Member Functions | |
| virtual Group | referenceGroup () const=0 |
| virtual MoveMode | moveMode () const=0 |
| virtual Utils::Result | setMoveMode (MoveMode)=0 |
| virtual short | tickPriority () const=0 |
| virtual Utils::Result | setTickPriority (short)=0 |
Static Public Member Functions | |
| PTR | create (const char *name, const Group &referenceGroup, const Concept &type, MoveMode moving, const Database &db=Database()) |
Static Public Attributes | |
| Com::UUID | IID |
This class extends the features of the EntityInstance class. It adds extra support for moving entity instances, i.e. entities who moves from a start position, may travel accross several portals and then may come back or move to the new location when disembodied. This particular kind of entities require some specific support, e.g. for using a temporary group when embodied or for asset dependencies.
|
|
A COM pointer to an object of this class Reimplemented from Q::EntityInstance. |
|
|
Move mode. Indicate what group the EntityInstance uses when embodied in relation to its reference group and what happens to it when it gets disembodied.
|
|
||||||||||||||||||||||||
|
Create an EntityInstance with the specified name, the specified reference group and the specified type.
|
|
|
Gets the move mode. The mode indicates what is used for the group when the EntityInstance object get embodied and what happens to it when it gets disembodied.
|
|
|
The reference group of the EntityInstance. If the move mode is NotMoving or MoveReferenceGroup, their reference group is their group. Otherwise, it is the group used as a reference to generate the lightweight group of the instance when the latter is embodied. |
|
|
Sets the move mode. The mode indicates what is used for the group when the EntityInstance object get embodied and what happens to it when it gets disembodied.
|
|
|
The ticking priority for this entity. Within a frame update, ticking entities is ordered by tick priority. Entities with higher priority are ticked before entities with lower priority. |
|
|
Return the ticking priority. Within a frame update, ticking entities is ordered by tick priority. Entities with higher priority are ticked before entities with lower priority. |
|
|
COM IID d32ecc39-45a7-40f6-bcd9-cd97064a09dd Reimplemented from Q::EntityInstance. |
|
|
|
Qube Software Limited © 2000-2004
|
|