SBSPSS/source/hazard/hmasher.h
Charles 0de9037e49
2001-06-06 15:26:06 +00:00

38 lines
666 B
C++

/*=========================================================================
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();
virtual void setGraphic( sThingHazard *ThisHazard );
protected:
void processMovement( int _frames );
enum MASHER_STATE
{
MASHER_DROPPING,
MASHER_RISING,
};
MASHER_STATE m_state;
};
#endif