CBox Class Reference

The class that represents a box in the CWorld system. More...

#include <World.h>

Inheritance diagram for CBox:

CThing

List of all members.

Public Member Functions

 CBox (CWorld *world, const Vector3 &size)
 ~CBox ()
float GetDensity ()
 Overrides CThing::GetDensity for CBox.
void SetDensity (float d)
 Overrides CThing::SetDensity for CBox.
int Type ()
 Returns TYPE_CBOX.


Detailed Description

The class that represents a box in the CWorld system.

Constructor & Destructor Documentation

CBox::CBox ( CWorld world,
const Vector3 &  size 
)

Constructor. A box must never be created this way. Use CWorld::CreateBox instead.

Parameters:
world The CWorld instance that this box will belong to.
size The size of the box as a vector (sizeX,sizeY,sizeZ).

CBox::~CBox (  ) 

Destructor. A box must never be destroyed this way. Use CWorld::RemoveThing instead.


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

Generated on Fri Jun 13 19:46:38 2008 for OPSIMUS by  doxygen 1.5.5