SBSPSS/source/platform/psbarrel.h
Charles ec623448dc
2001-06-25 21:10:18 +00:00

36 lines
796 B
C++

/*=========================================================================
psbarrel.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PSBARREL_H__
#define __PLATFORM_PSBARREL_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
class CNpcSteerableBarrelPlatform : public CNpcPlatform
{
public:
virtual void render();
virtual void postInit();
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
protected:
virtual void processMovement( int _frames );
virtual void collidedWith(CThing *_thisThing);
s16 m_rotation;
s32 m_currentSpeed;
s16 m_moveXHighRes;
};
#endif