SBSPSS/source/hazard/hcswitch.h
Charles 7478d3483b
2001-07-04 14:26:36 +00:00

35 lines
677 B
C++

/*=========================================================================
hcswitch.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __HAZARD_HCSWITCH_H__
#define __HAZARD_HCSWITCH_H__
#ifndef __HAZARD_HAZARD_H__
#include "hazard\hazard.h"
#endif
class CNpcConveyorSwitchHazard : public CNpcHazard
{
public:
void setWaypoints( sThingHazard *ThisHazard );
void init();
void render();
void trigger();
protected:
void collidedWith(CThing *_thisThing) {}
u8 m_reversed;
DVECTOR m_conveyorPos;
};
#endif