mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-12-03 17:32:49 +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);
|
||
|
};
|