2013-11-20 14:25:37 +01:00
|
|
|
#include "DynamicObject.h"
|
2013-12-03 11:47:04 +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-26 11:32:00 +01:00
|
|
|
using namespace Oyster::Physics;
|
|
|
|
using namespace Utility::DynamicMemory;
|
2013-11-20 14:25:37 +01:00
|
|
|
|
2013-12-03 11:47:04 +01:00
|
|
|
DynamicObject::DynamicObject(std::wstring objFile)
|
|
|
|
:Object(objFile)
|
2013-11-20 14:25:37 +01:00
|
|
|
{
|
2013-12-03 11:47:04 +01:00
|
|
|
rigidBody->SetSubscription(CollisionManager::BoxCollision);
|
2013-11-20 14:25:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
DynamicObject::~DynamicObject(void)
|
|
|
|
{
|
|
|
|
}
|
2013-11-28 08:33:29 +01:00
|
|
|
|
|
|
|
void DynamicObject::Update()
|
|
|
|
{
|
2013-11-29 09:23:00 +01:00
|
|
|
//update object
|
2013-11-28 08:33:29 +01:00
|
|
|
}
|