#include <adhesive_play_box_physics.h>

Public Member Functions | |
| AdhesivePlayBoxPhysics () | |
| Default constructor. | |
| virtual | ~AdhesivePlayBoxPhysics () |
| Destructor. | |
| virtual void | timeUpdate (float dt) |
| Timer value change event occured. | |
Private Member Functions | |
| AdhesivePlayBoxPhysics (const AdhesivePlayBoxPhysics &) | |
| AdhesivePlayBoxPhysics & | operator= (const AdhesivePlayBoxPhysics &) |
| void | fixHorizontalWallCollision (Bubble *bubble, float borderPos) |
| Fixes a collision with top or bottom wall. | |
| void | fixVerticalWallCollision (Bubble *bubble, float borderPos) |
| Fixes a collision with left or right wall. | |
| virtual void | fixLeftWallCollision (Bubble *bubble, float borderPos) |
| Fixes a collision with left wall. | |
| virtual void | fixRightWallCollision (Bubble *bubble, float borderPos) |
| Fixes a collision with right wall. | |
| virtual void | fixTopWallCollision (Bubble *bubble, float borderPos) |
| Fixes a collision with top wall. | |
| virtual void | fixBottomWallCollision (Bubble *bubble, float borderPos) |
| Fixes a collision with bottom wall. | |
Reference object (cannot be copied).
| AdhesivePlayBoxPhysics::AdhesivePlayBoxPhysics | ( | const AdhesivePlayBoxPhysics & | ) | [private] |
| AdhesivePlayBoxPhysics::AdhesivePlayBoxPhysics | ( | ) |
Default constructor.
| virtual AdhesivePlayBoxPhysics::~AdhesivePlayBoxPhysics | ( | ) | [virtual] |
Destructor.
| AdhesivePlayBoxPhysics& AdhesivePlayBoxPhysics::operator= | ( | const AdhesivePlayBoxPhysics & | ) | [private] |
| void AdhesivePlayBoxPhysics::fixHorizontalWallCollision | ( | Bubble * | bubble, | |
| float | borderPos | |||
| ) | [private] |
Fixes a collision with top or bottom wall.
| void AdhesivePlayBoxPhysics::fixVerticalWallCollision | ( | Bubble * | bubble, | |
| float | borderPos | |||
| ) | [private] |
Fixes a collision with left or right wall.
| virtual void AdhesivePlayBoxPhysics::fixLeftWallCollision | ( | Bubble * | bubble, | |
| float | borderPos | |||
| ) | [private, virtual] |
Fixes a collision with left wall.
| [in] | bubble | Pointer to a bubble which has caused a collision |
| [in] | borderPos | Position of the wall which the bubble collided |
Implements PlayBoxPhysics.
| virtual void AdhesivePlayBoxPhysics::fixRightWallCollision | ( | Bubble * | bubble, | |
| float | borderPos | |||
| ) | [private, virtual] |
Fixes a collision with right wall.
| [in] | bubble | Pointer to a bubble which has caused a collision |
| [in] | borderPos | Position of the wall which the bubble collided |
Implements PlayBoxPhysics.
| virtual void AdhesivePlayBoxPhysics::fixTopWallCollision | ( | Bubble * | bubble, | |
| float | borderPos | |||
| ) | [private, virtual] |
Fixes a collision with top wall.
| [in] | bubble | Pointer to a bubble which has caused a collision |
| [in] | borderPos | Position of the wall which the bubble collided |
Implements PlayBoxPhysics.
| virtual void AdhesivePlayBoxPhysics::fixBottomWallCollision | ( | Bubble * | bubble, | |
| float | borderPos | |||
| ) | [private, virtual] |
Fixes a collision with bottom wall.
| [in] | bubble | Pointer to a bubble which has caused a collision |
| [in] | borderPos | Position of the wall which the bubble collided |
Implements PlayBoxPhysics.
| virtual void AdhesivePlayBoxPhysics::timeUpdate | ( | float | dt | ) | [virtual] |
Timer value change event occured.
This method is called on each timer value change.
| [in] | dt | Time difference between the last call (delta). |
Implements TimeUpdateable.
1.5.6