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

23 lines
429 B
C++

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