mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-28 23:02:06 +00:00
25 lines
324 B
C++
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];
|
|
|
|
};
|
|
|