Danbias/Code/Game/GameLogic/DynamicObject.cpp

42 lines
992 B
C++
Raw Normal View History

#include "DynamicObject.h"
#include "CollisionManager.h"
2013-11-20 16:01:39 +01:00
using namespace GameLogic;
2013-12-05 11:50:39 +01:00
DynamicObject::DynamicObject()
:Object()
{
}
2014-02-12 14:48:58 +01:00
DynamicObject::DynamicObject(ObjectSpecialType type)
:Object(type)
{
}
2014-02-12 14:48:58 +01:00
DynamicObject::DynamicObject(Oyster::Physics::ICustomBody *rigidBody, ObjectSpecialType type)
:Object(rigidBody,type)
{
}
2013-11-28 08:33:29 +01:00
2014-02-12 14:48:58 +01:00
DynamicObject::DynamicObject( void* collisionFuncAfter, ObjectSpecialType type)
:Object(collisionFuncAfter,type)
2014-01-27 08:54:25 +01:00
{
2014-01-27 08:54:25 +01:00
}
2014-02-12 14:48:58 +01:00
DynamicObject::DynamicObject(Oyster::Physics::ICustomBody *rigidBody , void* collisionFuncAfter, ObjectSpecialType type)
:Object(rigidBody, collisionFuncAfter, type)
{
2014-01-27 08:54:25 +01:00
}
2014-02-12 14:48:58 +01:00
DynamicObject::DynamicObject(Oyster::Physics::ICustomBody *rigidBody , Oyster::Physics::ICustomBody::SubscriptMessage (*collisionFuncAfter)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), ObjectSpecialType type)
:Object(rigidBody, collisionFuncAfter, type)
{
}
2013-12-05 11:50:39 +01:00
DynamicObject::~DynamicObject(void)
2013-11-28 08:33:29 +01:00
{
2013-11-28 08:33:29 +01:00
}