35 lines
664 B
C++
35 lines
664 B
C++
/*=========================================================================
|
|
|
|
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();
|
|
void render();
|
|
protected:
|
|
void setWaypoints( sThingHazard *ThisHazard );
|
|
void processMovement( int _frames );
|
|
|
|
s32 m_length;
|
|
s32 m_maxExtension;
|
|
s16 m_rotation;
|
|
};
|
|
|
|
#endif |