mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-12-01 16:32:16 +00:00
25 lines
493 B
C++
25 lines
493 B
C++
|
|
class idTrembler : public idAnimatedEntity
|
|
{
|
|
public:
|
|
CLASS_PROTOTYPE( idTrembler );
|
|
|
|
void Save( idSaveGame *savefile ) const;
|
|
void Restore( idRestoreGame *savefile );
|
|
|
|
void Spawn( void );
|
|
void Event_Touch( idEntity *other, trace_t *trace );
|
|
void Think( void );
|
|
|
|
void Reset( void );
|
|
|
|
private:
|
|
|
|
|
|
int ticksoundTime;
|
|
int state;
|
|
void Arm( void );
|
|
idVec3 itemOriginalPosition;
|
|
//idEntity* itemEnt;
|
|
idEntityPtr<idEntity> itemEnt;
|
|
};
|