This commit is contained in:
parent
5192c4b988
commit
a17755d81c
4 changed files with 326 additions and 0 deletions
34
source/hazard/hcswitch.h
Normal file
34
source/hazard/hcswitch.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*=========================================================================
|
||||
|
||||
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:
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
void init();
|
||||
virtual void render();
|
||||
virtual void trigger();
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing) {}
|
||||
|
||||
u8 m_reversed;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue