7 #ifndef CAFU_GAMESYS_ENTITY_CREATE_PARAMS_HPP_INCLUDED
8 #define CAFU_GAMESYS_ENTITY_CREATE_PARAMS_HPP_INCLUDED
10 #include "TypeSys.hpp"
35 unsigned int GetID()
const {
return m_ID; }
EntityCreateParamsT(WorldT &World_)
The constructor.
Definition: EntityCreateParams.cpp:15
Creation parameters for a game entity.
Definition: EntityCreateParams.hpp:21
WorldT & World
The world in which the entity should be created.
Definition: EntityCreateParams.hpp:38
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.
Definition: EntityCreateParams.cpp:22
This class holds the hierarchy of game entities that populate a game world.
Definition: World.hpp:39
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...
Definition: EntityCreateParams.hpp:35
Definition: TypeSys.hpp:52