SBSPSS/source/platform/pretract.h

42 lines
793 B
C
Raw Permalink Normal View History

2001-04-23 20:35:33 +02:00
/*=========================================================================
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
{
2001-04-23 22:40:13 +02:00
public:
2001-07-04 00:17:20 +02:00
void postInit();
2001-07-04 16:26:36 +02:00
void render();
2001-07-10 19:08:34 +02:00
bool alwaysThink() {return(true);}
void setSpeed( s16 newSpeed );
2001-04-23 22:40:13 +02:00
protected:
2001-07-10 19:08:34 +02:00
void reinit();
2001-04-23 22:40:13 +02:00
void processTimer( int _frames );
2001-07-10 19:08:34 +02:00
s32 m_initDelay;
2001-04-23 22:40:13 +02:00
enum NPC_PLATFORM_TIMER_TYPE
{
NPC_PLATFORM_TIMER_RETRACT = 0,
NPC_PLATFORM_TIMER_EXTEND = 1,
};
2001-04-23 20:35:33 +02:00
};
#endif