SBSPSS/source/hazard/hspikes.h

39 lines
695 B
C
Raw Normal View History

2001-05-04 23:24:53 +02:00
/*=========================================================================
hspikes.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __HAZARD_HSPIKES_H__
#define __HAZARD_HSPIKES_H__
#ifndef __HAZARD_HAZARD_H__
#include "hazard\hazard.h"
#endif
class CNpcSpikesHazard : public CNpcHazard
{
public:
void init();
2001-06-29 16:19:28 +02:00
bool alwaysThink() {return(true);}
2001-05-04 23:24:53 +02:00
protected:
2001-07-04 16:26:36 +02:00
void processTimer( int _frames );
2001-05-04 23:24:53 +02:00
void processMovement( int _frames );
enum SPIKES_STATE
{
SPIKES_DROPPING,
SPIKES_RISING,
};
SPIKES_STATE m_state;
};
#endif