SBSPSS/source/platform/pretract.h
Charles 56bbd22107
2001-07-10 17:08:34 +00:00

42 lines
793 B
C++

/*=========================================================================
pretract.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PRETRACT_H__
#define __PLATFORM_PRETRACT_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
class CNpcRetractingPlatform : public CNpcPlatform
{
public:
void postInit();
void render();
bool alwaysThink() {return(true);}
void setSpeed( s16 newSpeed );
protected:
void reinit();
void processTimer( int _frames );
s32 m_initDelay;
enum NPC_PLATFORM_TIMER_TYPE
{
NPC_PLATFORM_TIMER_RETRACT = 0,
NPC_PLATFORM_TIMER_EXTEND = 1,
};
};
#endif