SBSPSS/source/platform/pconveyr.h
Charles f821541cf3
2001-05-30 18:31:57 +00:00

46 lines
1021 B
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