World Class Reference

#include <world.h>

List of all members.


Detailed Description

World containing enviroment and physic engine

Definition at line 32 of file world.h.


Public Member Functions

 World ()
IEnviroment & Enviroment () const
PhysicsEngine & Engine () const
double TimeToCollision (IMovingObject &obj) const
bool CollisionPoint (IMovingObject &obj, Point &result, double &time) const
 ~World ()

Private Member Functions

 World (const World &)
World & operator= (const World &)

Private Attributes

Members * pimpl

Constructor & Destructor Documentation

World (  ) 

Intialize world by enviroment and engine

Attention:
Instance is responsible to destroy objects

~World (  ) 

World ( const World &   )  [private]


Member Function Documentation

IEnviroment& Enviroment (  )  const

Gets the world enviroment

Referenced by Core::GetEnviroment().

Here is the caller graph for this function:

PhysicsEngine& Engine (  )  const

Gets the worl physics engine

double TimeToCollision ( IMovingObject &  obj  )  const

Computes time to first collision

bool CollisionPoint ( IMovingObject &  obj,
Point &  result,
double &  time 
) const

World& operator= ( const World &   )  [private]


Member Data Documentation

Members* pimpl [private]

Definition at line 63 of file world.h.


The documentation for this class was generated from the following file:
Generated on Fri Jul 10 22:42:19 2009 for rob08 by  doxygen 1.5.4