2014-02-13 09:58:14 +01:00
|
|
|
#ifndef PORTAL_H
|
|
|
|
#define PORTAL_H
|
|
|
|
#include "StaticObject.h"
|
|
|
|
namespace GameLogic
|
|
|
|
{
|
|
|
|
class Portal : public StaticObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Portal(void);
|
|
|
|
|
2014-02-14 11:04:01 +01:00
|
|
|
Portal(Oyster::Physics::ICustomBody *rigidBody
|
2014-02-14 09:53:02 +01:00
|
|
|
,ObjectSpecialType type,int objectID ,Oyster::Math::Float3 portalExit);
|
2014-02-13 09:58:14 +01:00
|
|
|
|
|
|
|
~Portal(void);
|
|
|
|
|
|
|
|
static void PortalActivated(Oyster::Physics::ICustomBody *rigidBodyPortal, Oyster::Physics::ICustomBody *obj, Oyster::Math::Float kineticEnergyLoss);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Oyster::Math::Float3 portalExit;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|