home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / XenonSource.exe / xenon / includes / bossmouth.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-23  |  928 b   |  49 lines

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CBossMouth
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    06/05/00
  8. //
  9. // Base:    CBoss
  10. //
  11. // Derived:    None
  12. //
  13. //-------------------------------------------------------------
  14.  
  15. #ifndef _INCLUDE_BOSSMOUTH_H
  16. #define _INCLUDE_BOSSMOUTH_H
  17.  
  18. #include "boss.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. class CBossMouth : public CBoss
  23. {
  24.     private:
  25.         int m_mode;
  26.         int m_shots_fired;
  27.         int m_shots_total;
  28.         float m_shot_delay;
  29.  
  30.         gsCTimer m_firing_timer;
  31.         static gsCRandom m_random;
  32.  
  33.     public:
  34.         CBossMouth();
  35.         virtual ~CBossMouth();
  36.  
  37.         const ActorInfo& getActorInfo() { return ActorInfoList[INFO_BOSSMOUTH]; };
  38.  
  39.         bool activate();
  40.  
  41.         bool update(Controls *controls);
  42.  
  43.         void trigger(int mode,int shots,float delay);
  44. };
  45.  
  46. //-------------------------------------------------------------
  47.  
  48. #endif
  49.