2001-05-23 00:01:06 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
hflytrap.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __HAZARD_HFLYTRAP_H__
|
|
|
|
#define __HAZARD_HFLYTRAP_H__
|
|
|
|
|
|
|
|
#ifndef __HAZARD_HAZARD_H__
|
|
|
|
#include "hazard\hazard.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcFlyTrapHazard : public CNpcHazard
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void init();
|
|
|
|
virtual void render();
|
|
|
|
protected:
|
|
|
|
void processMovement( int _frames );
|
2001-05-30 16:08:36 +02:00
|
|
|
virtual void collidedWith(CThing *_thisThing);
|
2001-05-23 00:01:06 +02:00
|
|
|
|
|
|
|
s16 m_rotation;
|
|
|
|
u8 m_shut;
|
2001-05-30 16:08:36 +02:00
|
|
|
u8 m_contact;
|
2001-05-23 00:01:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|