mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-21 19:51:04 +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];
|
|
|
|
};
|
|
|