mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-23 20:43:05 +00:00
27 lines
399 B
C++
27 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;
|
|
};
|
|
|
|
|