GL - fixed portal constructor
This commit is contained in:
parent
c5e4580ada
commit
8d8fa78da0
|
@ -10,8 +10,8 @@ Portal::Portal(void)
|
|||
}
|
||||
|
||||
|
||||
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)
|
||||
Portal::Portal(Oyster::Physics::ICustomBody *rigidBody, ObjectSpecialType type,int objectID ,Oyster::Math::Float3 portalExit)
|
||||
:StaticObject(rigidBody, Portal::PortalActivated, type, objectID)
|
||||
{
|
||||
this->portalExit = portalExit;
|
||||
}
|
||||
|
|
|
@ -8,8 +8,7 @@ namespace GameLogic
|
|||
public:
|
||||
Portal(void);
|
||||
|
||||
Portal(Oyster::Physics::ICustomBody *rigidBody
|
||||
,void (*EventOnCollision)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss)
|
||||
Portal(Oyster::Physics::ICustomBody *rigidBody
|
||||
,ObjectSpecialType type,int objectID ,Oyster::Math::Float3 portalExit);
|
||||
|
||||
~Portal(void);
|
||||
|
|
Loading…
Reference in New Issue