SBSPSS/source/platform/pconveyr.h

46 lines
1021 B
C
Raw Normal View History

2001-05-29 16:41:29 +02:00
/*=========================================================================
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();
2001-05-30 20:31:57 +02:00
virtual void render();
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
2001-05-29 16:41:29 +02:00
protected:
virtual void processMovement( int _frames );
virtual void collidedWith(CThing *_thisThing);
2001-05-30 20:31:57 +02:00
u8 m_spinFinish;
s16 m_rotation;
2001-05-29 16:41:29 +02:00
};
class CNpcConveyorPlatformGenerator : public CNpcPlatform
{
public:
virtual void render();
virtual CRECT const *getThinkBBox();
protected:
virtual void think( int _frames );
virtual void collidedWith(CThing *_thisThing);
};
#endif