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
|
|
|
|
{
|
|
|
|
|
2013-11-28 09:26:29 +01:00
|
|
|
namespace CollisionManager
|
2013-11-26 09:19:59 +01:00
|
|
|
{
|
2013-11-28 11:23:11 +01:00
|
|
|
void PlayerCollision(Oyster::Physics::ICustomBody &rigidBodyPlayer,Oyster::Physics::ICustomBody &obj);
|
|
|
|
void BoxCollision(Oyster::Physics::ICustomBody &rigidBodyBox, Oyster::Physics::ICustomBody &obj);
|
2013-11-26 09:19:59 +01:00
|
|
|
|
2013-11-26 11:30:49 +01:00
|
|
|
|
2013-11-28 11:23:11 +01:00
|
|
|
|
|
|
|
void PlayerVBox(Player &player, DynamicObject &box);
|
|
|
|
void BoxVBox(DynamicObject &box1, DynamicObject &box2);
|
|
|
|
|
2013-11-26 09:19:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|