2014-02-13 09:58:14 +01:00
|
|
|
#include "Portal.h"
|
|
|
|
|
|
|
|
using namespace GameLogic;
|
|
|
|
using namespace Oyster::Math;
|
|
|
|
|
|
|
|
Portal::Portal(void)
|
|
|
|
:StaticObject()
|
|
|
|
{
|
|
|
|
this->portalExit = Float3(0,0,0);
|
|
|
|
}
|
|
|
|
|
2014-02-14 10:08:29 +01:00
|
|
|
|
2014-02-14 11:04:01 +01:00
|
|
|
Portal::Portal(Oyster::Physics::ICustomBody *rigidBody, ObjectSpecialType type,int objectID ,Oyster::Math::Float3 portalExit)
|
|
|
|
:StaticObject(rigidBody, Portal::PortalActivated, type, objectID)
|
2014-02-13 09:58:14 +01:00
|
|
|
{
|
|
|
|
this->portalExit = portalExit;
|
|
|
|
}
|
|
|
|
|
|
|
|
Portal::~Portal(void)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|