mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-09 22:31:33 +00:00
24 lines
429 B
C
24 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);
|
||
|
};
|