SBSPSS/source/platform/psbarrel.h
Charles 573321782a
2001-06-20 18:52:02 +00:00

36 lines
793 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( &getCollisionArea() );}
protected:
virtual void processMovement( int _frames );
virtual void collidedWith(CThing *_thisThing);
s16 m_rotation;
s32 m_currentSpeed;
s16 m_moveXHighRes;
};
#endif