27 lines
657 B
C++
27 lines
657 B
C++
#ifndef COLLISIONMANAGER_H
|
|
#define COLLISIONMANAGER_H
|
|
|
|
#include "Object.h"
|
|
#include "PhysicsAPI.h"
|
|
#include "RefManager.h"
|
|
#include "DynamicObject.h"
|
|
#include "Player.h"
|
|
|
|
namespace GameLogic
|
|
{
|
|
|
|
namespace CollisionManager
|
|
{
|
|
//these are the main collision functions
|
|
void PlayerCollision(Oyster::Physics::ICustomBody &rigidBodyPlayer,Oyster::Physics::ICustomBody &obj);
|
|
void BoxCollision(Oyster::Physics::ICustomBody &rigidBodyBox, Oyster::Physics::ICustomBody &obj);
|
|
|
|
//these are the specific collision case functions
|
|
void PlayerVBox(Player &player, DynamicObject &box);
|
|
void BoxVBox(DynamicObject &box1, DynamicObject &box2);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif |