23 lines
521 B
C++
23 lines
521 B
C++
|
#include "Portal.h"
|
||
|
|
||
|
using namespace GameLogic;
|
||
|
using namespace Oyster::Math;
|
||
|
|
||
|
Portal::Portal(void)
|
||
|
:StaticObject()
|
||
|
{
|
||
|
this->portalExit = Float3(0,0,0);
|
||
|
}
|
||
|
|
||
|
Portal::Portal(Oyster::Physics::ICustomBody *rigidBody, void (*collisionFuncAfter)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), OBJECT_TYPE type, Oyster::Math::Float3 portalExit)
|
||
|
:StaticObject(rigidBody, collisionFuncAfter, type)
|
||
|
{
|
||
|
this->portalExit = portalExit;
|
||
|
}
|
||
|
|
||
|
Portal::~Portal(void)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|