SBSPSS/source/hazard/hcswitch.h
Charles 40f3d3d6cc
2001-07-11 18:15:41 +00:00

35 lines
727 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();
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
protected:
void collidedWith(CThing *_thisThing) {}
u8 m_reversed;
};
#endif