This commit is contained in:
Charles 2001-06-05 15:59:51 +00:00
parent c2ab404cf6
commit 432cba9e4f
4 changed files with 381 additions and 0 deletions

34
source/hazard/hbrock.h Normal file
View file

@ -0,0 +1,34 @@
/*=========================================================================
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();
virtual void setWaypoints( sThingHazard *ThisHazard );
virtual void trigger();
protected:
void processMovement( int _frames );
virtual void collidedWith(CThing *_thisThing);
u8 m_isTriggered;
};
#endif