trembler.h 518 B

1234567891011121314151617181920212223242526
  1. class idTrembler : public idAnimatedEntity
  2. {
  3. public:
  4. CLASS_PROTOTYPE( idTrembler );
  5. void Save( idSaveGame *savefile ) const;
  6. void Restore( idRestoreGame *savefile );
  7. void Spawn( void );
  8. void Event_Touch( idEntity *other, trace_t *trace );
  9. void Think( void );
  10. void Reset( void );
  11. private:
  12. int ticksoundTime;
  13. int state;
  14. void Arm( void );
  15. idVec3 itemOriginalPosition;
  16. //idEntity* itemEnt;
  17. idEntityPtr<idEntity> itemEnt;
  18. };