2013-11-26 09:19:59 +01:00
|
|
|
#ifndef COLLISIONMANAGER_H
|
|
|
|
#define COLLISIONMANAGER_H
|
|
|
|
|
|
|
|
#include "Object.h"
|
|
|
|
#include "PhysicsAPI.h"
|
|
|
|
#include "RefManager.h"
|
|
|
|
#include "DynamicObject.h"
|
|
|
|
#include "Player.h"
|
|
|
|
|
|
|
|
namespace GameLogic
|
|
|
|
{
|
|
|
|
|
|
|
|
class CollisionManager
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
CollisionManager(void);
|
|
|
|
~CollisionManager(void);
|
|
|
|
|
2013-11-26 11:30:49 +01:00
|
|
|
private:
|
2013-11-26 09:19:59 +01:00
|
|
|
void ColisionEvent(Oyster::Physics::ICustomBody &obj1, Oyster::Physics::ICustomBody &obj2);
|
|
|
|
void PlayerVBox(Player &player, DynamicObject &box);
|
2013-11-26 11:30:49 +01:00
|
|
|
|
2013-11-26 09:19:59 +01:00
|
|
|
private:
|
2013-11-26 11:30:49 +01:00
|
|
|
RefManager *refManager;
|
2013-11-26 09:19:59 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|