SBSPSS/source/platform/pfblock.h

36 lines
753 B
C
Raw Normal View History

2001-07-05 22:07:49 +02:00
/*=========================================================================
pfblock.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PFBLOCK_H__
#define __PLATFORM_PFBLOCK_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
class CNpcFallingBlockPlatform : public CNpcPlatform
{
public:
void postInit();
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
2001-07-05 23:50:02 +02:00
void trigger();
2001-07-05 22:07:49 +02:00
protected:
2001-07-06 17:54:47 +02:00
void collidedWith(CThing *_thisThing);
2001-07-05 22:07:49 +02:00
void processMovement( int _frames );
u8 m_isTriggered;
u8 m_isFalling;
s32 m_timer;
};
#endif