CSphere Class Reference

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

#include <World.h>

Inheritance diagram for CSphere:

CThing

List of all members.

Public Member Functions

 CSphere (CWorld *world, float radius)
 ~CSphere ()
float GetDensity ()
 Overrides CThing::GetDensity for CSphere.
void SetDensity (float d)
 Overrides CThing::SetDensity for CSphere.
int Type ()
 Returns TYPE_CSPHERE.


Detailed Description

The class that represents a sphere in the CWorld system.

Constructor & Destructor Documentation

CSphere::CSphere ( CWorld world,
float  radius 
)

Constructor. A sphere must never be created this way. Use CWorld::CreateSphere instead.

Parameters:
world The CWorld instance that this sphere will belong to.
radius The radius of the sphere.

CSphere::~CSphere (  ) 

Destructor A sphere 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:39 2008 for OPSIMUS by  doxygen 1.5.5