2001-05-04 22:46:43 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
hmasher.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __HAZARD_HMASHER_H__
|
|
|
|
#define __HAZARD_HMASHER_H__
|
|
|
|
|
|
|
|
#ifndef __HAZARD_HAZARD_H__
|
|
|
|
#include "hazard\hazard.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcMasherHazard : public CNpcHazard
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void init();
|
2001-07-04 16:26:36 +02:00
|
|
|
void setGraphic( sThingHazard *ThisHazard );
|
2001-05-04 22:46:43 +02:00
|
|
|
protected:
|
|
|
|
void processMovement( int _frames );
|
|
|
|
|
|
|
|
enum MASHER_STATE
|
|
|
|
{
|
|
|
|
MASHER_DROPPING,
|
|
|
|
MASHER_RISING,
|
|
|
|
};
|
|
|
|
|
|
|
|
MASHER_STATE m_state;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|