SBSPSS/source/platform/pconveyr.h

44 lines
895 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:
2001-07-04 00:17:20 +02:00
void postInit();
2001-07-04 16:26:36 +02:00
void render();
int checkCollisionAgainst(CThing *_thisThing, int _frames);
2001-05-29 16:41:29 +02:00
protected:
2001-07-04 16:26:36 +02:00
void processMovement( int _frames );
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:
2001-07-04 16:26:36 +02:00
void render();
2001-05-29 16:41:29 +02:00
protected:
2001-07-04 16:26:36 +02:00
void think( int _frames );
void collidedWith(CThing *_thisThing);
2001-05-29 16:41:29 +02:00
};
#endif