2001-06-11 21:29:04 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pbubtube.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PBUBTUBE_H__
|
|
|
|
#define __PLATFORM_PBUBTUBE_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcBubbleTubePlatform : public CNpcPlatform
|
|
|
|
{
|
|
|
|
public:
|
2001-07-04 00:17:20 +02:00
|
|
|
void postInit();
|
2001-07-04 16:26:36 +02:00
|
|
|
void setWaypoints( sThingPlatform *ThisPlatform );
|
2001-06-11 21:29:04 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
void collidedWith(CThing *_thisThing);
|
|
|
|
void processMovement( int _frames );
|
|
|
|
void processTimer( int _frames );
|
2001-06-11 21:29:04 +02:00
|
|
|
|
|
|
|
u8 m_isActivated;
|
|
|
|
u8 m_returning;
|
|
|
|
s32 m_maxExtension;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|