random_play_box_physics.h

Go to the documentation of this file.
00001 
00014 #ifndef _RANDOM_PLAY_BOX_PHYSICS_H_
00015 #define _RANDOM_PLAY_BOX_PHYSICS_H_
00016 
00017 #include "play_box_physics.h"
00018 
00024 class RandomPlayBoxPhysics: public PlayBoxPhysics
00025 {
00026         private:
00027 
00028                 // Disable copy constructor and assignment operator
00029                 RandomPlayBoxPhysics(const RandomPlayBoxPhysics &);
00030                 RandomPlayBoxPhysics & operator=(const RandomPlayBoxPhysics &);
00031 
00035                 void fixHorizontalWallCollision(Bubble* bubble, float borderPos);
00036 
00040                 void fixVerticalWallCollision(Bubble* bubble, float borderPos);
00041 
00042                 // Override
00043                 virtual void fixLeftWallCollision(Bubble* bubble, float borderPos);
00044 
00045                 // Override
00046                 virtual void fixRightWallCollision(Bubble* bubble, float borderPos);
00047 
00048                 // Override
00049                 virtual void fixTopWallCollision(Bubble* bubble, float borderPos);
00050 
00051                 // Override
00052                 virtual void fixBottomWallCollision(Bubble* bubble, float borderPos);
00053 
00054         public:
00055 
00059                 RandomPlayBoxPhysics();
00060 
00064                 virtual ~RandomPlayBoxPhysics();
00065 
00066                 // Override
00067                 virtual void timeUpdate(float dt);
00068 };
00069 
00070 #endif

Generated on Sat Dec 20 19:21:24 2008 for PGR2008 by  doxygen 1.5.6