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

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CPod
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    06/05/00
  8. //
  9. // Base:    CAlien
  10. //
  11. // Derived:    None
  12. //
  13. //-------------------------------------------------------------
  14.  
  15. #ifndef _INCLUDE_POD_H
  16. #define _INCLUDE_POD_H
  17.  
  18. #include "alien.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. const float POD_MAX_XSPEED = 0.5f;
  23. const float POD_XSPEED_SCALE = 0.01f;
  24.  
  25. //-------------------------------------------------------------
  26.  
  27. class CPod : public CAlien
  28. {
  29.     public:
  30.         CPod();
  31.         virtual ~CPod();
  32.  
  33.         const ActorInfo& getActorInfo() { return ActorInfoList[INFO_POD]; };
  34.  
  35.         bool activate();
  36.         bool update(Controls *controls);
  37. };
  38.  
  39. //-------------------------------------------------------------
  40.  
  41. #endif
  42.