SBSPSS/source/hazard/hspikes.h

39 lines
694 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-07 21:16:59 +02:00
virtual CRECT const *getThinkBBox();
2001-05-04 23:24:53 +02:00
protected:
2001-06-07 21:16:59 +02:00
virtual 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