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

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CCreditsState
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    06/05/00
  8. //
  9. // Base:    CGameState
  10. //
  11. // Derived:    None
  12. //
  13. //-------------------------------------------------------------
  14.  
  15. #ifndef _INCLUDE_CREDITSSTATE_H
  16. #define _INCLUDE_CREDITSSTATE_H
  17.  
  18. #include "gamestate.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. class CCreditsState : public CGameState
  23. {
  24.     private:
  25.  
  26.         static CCreditsState *m_instance;
  27.  
  28.         int m_scroll_pos;
  29.  
  30.     public:
  31.         CCreditsState();
  32.         ~CCreditsState();
  33.  
  34.         static CGameState *instance();
  35.         
  36.         bool create();
  37.         bool update();
  38.         bool destroy();
  39. };
  40.  
  41. //-------------------------------------------------------------
  42.  
  43. #endif
  44.  
  45.