SBSPSS/source/platform/pghost.h

40 lines
675 B
C
Raw Permalink Normal View History

2001-07-13 16:50:05 +02:00
/*=========================================================================
pghost.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PGHOST_H__
#define __PLATFORM_PGHOST_H__
#ifndef __PLATFORM_PCART_H__
#include "platform\pcart.h"
#endif
class CNpcGhostTrainPlatform : public CNpcCartPlatform
{
public:
void postInit();
2001-07-13 17:18:50 +02:00
void slowDown();
void speedUp();
2001-07-13 16:50:05 +02:00
protected:
void processMovement( int _frames );
u8 m_speedSetting;
2001-07-13 17:18:50 +02:00
enum
{
GO_DEFAULT = 0,
GO_SLOW_DOWN = 1,
GO_SPEED_UP,
};
2001-07-13 16:50:05 +02:00
};
#endif