40 lines
675 B
C++
40 lines
675 B
C++
/*=========================================================================
|
|
|
|
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();
|
|
void slowDown();
|
|
void speedUp();
|
|
protected:
|
|
void processMovement( int _frames );
|
|
|
|
u8 m_speedSetting;
|
|
|
|
enum
|
|
{
|
|
GO_DEFAULT = 0,
|
|
GO_SLOW_DOWN = 1,
|
|
GO_SPEED_UP,
|
|
};
|
|
};
|
|
|
|
#endif |