SBSPSS/source/platform/ptrpdoor.h

38 lines
923 B
C
Raw Normal View History

2001-05-24 01:08:26 +02:00
/*=========================================================================
ptrpdoor.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PTRPDOOR_H__
#define __PLATFORM_PTRPDOOR_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
class CNpcTrapdoorPlatform : public CNpcPlatform
{
public:
virtual void postInit();
DVECTOR const &getTriggerPos() {return( m_triggerPos );}
void setTriggered() {m_triggered = true;}
virtual void render();
2001-06-25 23:10:18 +02:00
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
2001-05-24 01:08:26 +02:00
protected:
virtual void setWaypoints( sThingPlatform *ThisPlatform );
virtual void processMovement( int _frames );
DVECTOR m_triggerPos;
u8 m_triggered;
u8 m_pointRight;
};
#endif