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

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;
};