SBSPSS/source/hazard/hpendulm.h

35 lines
664 B
C
Raw Normal View History

2001-04-24 16:00:16 +02:00
/*=========================================================================
hpendulm.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __HAZARD_HPENDULM_H__
#define __HAZARD_HPENDULM_H__
#ifndef __HAZARD_HAZARD_H__
#include "hazard\hazard.h"
#endif
class CNpcPendulumHazard : public CNpcHazard
{
public:
void init();
2001-07-04 16:26:36 +02:00
void render();
2001-04-24 16:00:16 +02:00
protected:
2001-07-04 16:26:36 +02:00
void setWaypoints( sThingHazard *ThisHazard );
2001-04-24 16:00:16 +02:00
void processMovement( int _frames );
2001-04-24 21:14:52 +02:00
s32 m_length;
2001-05-01 15:28:11 +02:00
s32 m_maxExtension;
2001-06-06 17:04:20 +02:00
s16 m_rotation;
2001-04-24 16:00:16 +02:00
};
#endif