quadrilateralcowboy/d3xp/doorfolding.h
2020-06-12 14:06:25 -07:00

25 lines
324 B
C++

#define BARCOUNT 8
class idDoorFolding : public idEntity
{
public:
CLASS_PROTOTYPE( idDoorFolding );
void Think( void );
void Spawn( void );
private:
enum { OFF, ON };
int state;
void Event_activate( int value );
idMover * movers[BARCOUNT];
idBeam* beam[BARCOUNT*8];
};