Creation parameters for a game entity.
More...
#include "EntityCreateParams.hpp"
|
| EntityCreateParamsT (WorldT &World_) |
| The constructor. More...
|
|
void | ForceID (unsigned int ID) |
| This method is used on the client to create entities with the ID sent from the server, not the automatically created ID that would otherwise (normally) be used. More...
|
|
unsigned int | GetID () const |
| Returns the "forced" ID that is to be used for the new entity, or UINT_MAX if the normal ID should be used. More...
|
|
Creation parameters for a game entity.
EntityCreateParamsT::EntityCreateParamsT |
( |
WorldT & |
World_ | ) |
|
The constructor.
- Parameters
-
World_ | The world in which the entity should be created. |
void EntityCreateParamsT::ForceID |
( |
unsigned int |
ID | ) |
|
This method is used on the client to create entities with the ID sent from the server, not the automatically created ID that would otherwise (normally) be used.
unsigned int cf::GameSys::EntityCreateParamsT::GetID |
( |
| ) |
const |
|
inline |
Returns the "forced" ID that is to be used for the new entity, or UINT_MAX
if the normal ID should be used.
WorldT& cf::GameSys::EntityCreateParamsT::World |
The world in which the entity should be created.
The documentation for this class was generated from the following files: