SBSPSS/source/platform/prbridge.h
Charles 573321782a
2001-06-20 18:52:02 +00:00

35 lines
778 B
C++

/*=========================================================================
prbridge.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PRBRIDGE_H__
#define __PLATFORM_PRBRIDGE_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
class CNpcRisingBridgePlatform : public CNpcPlatform
{
public:
virtual void postInit();
virtual void trigger();
virtual CRECT const *getThinkBBox() {return( &getCollisionArea() );}
protected:
virtual void setWaypoints( sThingPlatform *ThisPlatform );
virtual void processMovement( int _frames );
s32 m_maxExtension;
u8 m_triggered;
};
#endif