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