Danbias/Code/Game/GameLogic/Portal.cpp

24 lines
547 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 (*EventOnCollision)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), ObjectSpecialType type,int objectID ,Oyster::Math::Float3 portalExit)
:StaticObject(rigidBody, EventOnCollision, type, objectID)
{
this->portalExit = portalExit;
}
Portal::~Portal(void)
{
}