2001-04-30 18:04:15 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pseesaw.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PSEESAW_H__
|
|
|
|
#define __PLATFORM_PSEESAW_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcSeesawPlatform : public CNpcPlatform
|
|
|
|
{
|
|
|
|
public:
|
2001-07-04 00:17:20 +02:00
|
|
|
void postInit();
|
2001-07-04 16:26:36 +02:00
|
|
|
void render();
|
|
|
|
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
2001-04-30 18:04:15 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
void processMovement( int _frames );
|
2001-04-30 18:04:15 +02:00
|
|
|
|
|
|
|
s32 m_angularVelocity;
|
|
|
|
s32 m_currentAngle;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|