Physics2DEntityType Class Reference

#include <Physics2DEntityType.h>

Inherits EntityType.

Collaboration diagram for Physics2DEntityType:

List of all members.


Public Member Functions

 Physics2DEntityType (int type)
virtual ~Physics2DEntityType ()
virtual EntitycreateInstanceUnchecked (unsigned short instId, unsigned short idOfEnv, unsigned short idInEnv)

Protected Member Functions

virtual EntitycreateInstanceAtLoadTime (unsigned short idOfEnv, unsigned short idInEnv)

Constructor & Destructor Documentation

OSG_USING_NAMESPACE Physics2DEntityType::Physics2DEntityType ( int  type  ) 

virtual Physics2DEntityType::~Physics2DEntityType (  )  [inline, virtual]


Member Function Documentation

Entity * Physics2DEntityType::createInstanceAtLoadTime ( unsigned short  idOfEnv,
unsigned short  idInEnv 
) [protected, virtual]

Creates a new instance of itself at load time. The method creates a new Entity instance where the instanceId is requested from the loadTimeEntityIdPool.

Parameters:
idOfEnv ID of the destination Environment
idInEnv ID of the Entity in the Environment
Returns:
new Entity instance of the current EntityType

Reimplemented from EntityType.

Entity * Physics2DEntityType::createInstanceUnchecked ( unsigned short  instId,
unsigned short  idOfEnv,
unsigned short  idInEnv 
) [virtual]

Creates a new instance of itself with the passed IDs. The method creates a new Entity instance with the passed IDs.

Parameters:
instId ID of the Entity instance
idOfEnv ID of the destination Environment
idInEnv ID of the Entity in the Environment
Returns:
new Entity instance of the current EntityType

Reimplemented from EntityType.


The documentation for this class was generated from the following files:

Generated on Wed Oct 20 16:11:59 2010 for inVRs by doxygen 1.5.8