mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-12-03 01:13:11 +00:00
28 lines
399 B
C
28 lines
399 B
C
|
|
||
|
class idTableFold : public idAnimatedEntity
|
||
|
{
|
||
|
public:
|
||
|
CLASS_PROTOTYPE( idTableFold );
|
||
|
|
||
|
//void Think( void );
|
||
|
void Spawn( void );
|
||
|
void OnFrob( idEntity* activator );
|
||
|
|
||
|
private:
|
||
|
|
||
|
enum { CLOSED, OPENED };
|
||
|
int state;
|
||
|
|
||
|
|
||
|
void Event_reset( void );
|
||
|
void Event_open( bool value );
|
||
|
|
||
|
|
||
|
idEntity* frobcube;
|
||
|
idEntity* frobcube_handle;
|
||
|
|
||
|
idMover * mover;
|
||
|
};
|
||
|
|
||
|
|