SBSPSS/source/platform/pconveyr.h
Charles adee4b97be
2001-06-19 20:07:57 +00:00

46 lines
1.0 KiB
C++

/*=========================================================================
pconveyr.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PCONVEYR_H__
#define __PLATFORM_PCONVEYR_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
class CNpcConveyorPlatform : public CNpcPlatform
{
public:
virtual void postInit();
//virtual CRECT const *getThinkBBox();
virtual void render();
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
protected:
virtual void processMovement( int _frames );
virtual void collidedWith(CThing *_thisThing);
u8 m_spinFinish;
s16 m_rotation;
};
class CNpcConveyorPlatformGenerator : public CNpcPlatform
{
public:
virtual void render();
//virtual CRECT const *getThinkBBox();
protected:
virtual void think( int _frames );
virtual void collidedWith(CThing *_thisThing);
};
#endif