mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-12-03 01:13:11 +00:00
23 lines
429 B
C++
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);
|
|
};
|