This commit is contained in:
parent
9b08f90fdd
commit
becb234bd7
4 changed files with 293 additions and 0 deletions
36
source/hazard/hrweight.h
Normal file
36
source/hazard/hrweight.h
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*=========================================================================
|
||||
|
||||
hrweight.h
|
||||
|
||||
Author: CRB
|
||||
Created:
|
||||
Project: Spongebob
|
||||
Purpose:
|
||||
|
||||
Copyright (c) 2001 Climax Development Ltd
|
||||
|
||||
===========================================================================*/
|
||||
|
||||
#ifndef __HAZARD_HRWEIGHT_H__
|
||||
#define __HAZARD_HRWEIGHT_H__
|
||||
|
||||
#ifndef __HAZARD_HAZARD_H__
|
||||
#include "hazard\hazard.h"
|
||||
#endif
|
||||
|
||||
class CNpcRisingWeightHazard : public CNpcHazard
|
||||
{
|
||||
public:
|
||||
void init();
|
||||
DVECTOR const &getWheelPos() {return( m_wheelPos );}
|
||||
void setTriggered() {m_triggered = true;}
|
||||
protected:
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
virtual void processMovement( int _frames );
|
||||
|
||||
s32 m_maxExtension;
|
||||
DVECTOR m_wheelPos;
|
||||
u8 m_triggered;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue