This commit is contained in:
parent
c2ab404cf6
commit
432cba9e4f
4 changed files with 381 additions and 0 deletions
34
source/hazard/hbrock.h
Normal file
34
source/hazard/hbrock.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue