quadrilateralcowboy/d3xp/button_switcher.h

24 lines
429 B
C
Raw Normal View History

2020-06-12 21:06:25 +00:00
class idButtonSwitcher : public idAnimated
{
public:
CLASS_PROTOTYPE( idButtonSwitcher );
void Spawn( void );
void Save( idSaveGame *savefile ) const;
void Restore( idRestoreGame *savefile );
//virtual void Think( void );
void OnFrob( idEntity* activator );
private:
int state;
bool active;
void Event_buttonswitcheractivate(int value);
void CallScript(const char* name);
};