SBSPSS/source/hazard/hbbarrel.h

39 lines
736 B
C
Raw Normal View History

2001-05-05 23:02:59 +02:00
/*=========================================================================
hbbarrel.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __HAZARD_HBBARREL_H__
#define __HAZARD_HBBARREL_H__
#ifndef __HAZARD_HAZARD_H__
#include "hazard\hazard.h"
#endif
class CNpcBouncingBarrelHazard : public CNpcHazard
{
public:
void init();
2001-07-12 16:56:06 +02:00
virtual void render();
2001-05-05 23:02:59 +02:00
protected:
void processMovement( int _frames );
2001-07-04 16:26:36 +02:00
void collidedWith(CThing *_thisThing);
2001-05-05 23:02:59 +02:00
DVECTOR m_lastWaypoint;
2001-05-05 23:47:56 +02:00
s16 m_rotation;
s16 m_rockRotation;
u8 m_rockDir;
2001-05-25 23:16:13 +02:00
u8 m_hitPlayer;
s32 m_speed;
2001-05-05 23:02:59 +02:00
};
#endif