SBSPSS/source/hazard/hbrock.h

35 lines
701 B
C
Raw Normal View History

2001-06-05 17:59:51 +02:00
/*=========================================================================
hbrock.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __HAZARD_HBROCK_H__
#define __HAZARD_HBROCK_H__
#ifndef __HAZARD_HBBARREL_H__
#include "hazard\hbbarrel.h"
#endif
class CNpcBouncingRockHazard : public CNpcBouncingBarrelHazard
{
public:
void init();
2001-07-12 16:56:06 +02:00
void render();
2001-07-04 16:26:36 +02:00
void setWaypoints( sThingHazard *ThisHazard );
void trigger();
2001-06-05 17:59:51 +02:00
protected:
void processMovement( int _frames );
2001-07-04 16:26:36 +02:00
void collidedWith(CThing *_thisThing);
2001-06-05 17:59:51 +02:00
u8 m_isTriggered;
};
#endif