2001-05-05 15:53:08 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pbwheel.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PBWHEEL_H__
|
|
|
|
#define __PLATFORM_PBWHEEL_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcBigWheelPlatform : public CNpcPlatform
|
|
|
|
{
|
2001-05-16 22:40:52 +02:00
|
|
|
public:
|
2001-06-29 16:19:28 +02:00
|
|
|
bool alwaysThink() {return(true);}
|
2001-07-04 00:17:20 +02:00
|
|
|
void postInit();
|
2001-07-04 16:26:36 +02:00
|
|
|
int getHeightFromPlatformAtPosition(int _x,int _y, int offsetX = 0, int offsetY = 0);
|
2001-05-05 15:53:08 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
void setWaypoints( sThingPlatform *ThisPlatform );
|
|
|
|
void processMovement( int _frames );
|
2001-05-05 15:53:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|