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

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CRetroEngine
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    06/05/00
  8. //
  9. // Base:    CEngine
  10. //
  11. // Derived:    None
  12. //
  13. //-------------------------------------------------------------
  14.  
  15. #ifndef _INCLUDE_RETROENGINE_H
  16. #define _INCLUDE_RETROENGINE_H
  17.  
  18. #include "engine.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. typedef enum
  23. {
  24.     RETRO_NW,
  25.     RETRO_NE,
  26.     RETRO_SW,
  27.     RETRO_SE
  28. } RetroDirection;
  29.  
  30. //-------------------------------------------------------------
  31.  
  32. class CRetroEngine : public CEngine
  33. {
  34.     private:
  35.         RetroDirection m_direction;
  36.  
  37.     public:
  38.         CRetroEngine();
  39.         virtual ~CRetroEngine();
  40.  
  41.         const ActorInfo& getActorInfo() { return ActorInfoList[INFO_RETRO_ENGINE]; };
  42.  
  43.         bool draw();
  44.  
  45.         void setDirection(RetroDirection direction);
  46. };
  47.  
  48. //-------------------------------------------------------------
  49.  
  50. #endif
  51.