GameOver.h
上传用户:royluo
上传日期:2007-01-05
资源大小:1584k
文件大小:2k
源码类别:

游戏

开发平台:

Visual C++

  1. /*****************************************************************************
  2. *                                                                             
  3. *   GameOver.h
  4. *                                                                             
  5. *   Electrical Engineering Faculty - Software Lab                             
  6. *   Spring semester 1998                                                      
  7. *                                                                             
  8. *   Tanks game                                                                
  9. *                                                                             
  10. *   Module description: Implements the game over object.
  11. *                       
  12. *                                                                             
  13. *   Authors: Eran Yariv - 28484475                                           
  14. *            Moshe Zur  - 24070856                                           
  15. *                                                                            
  16. *                                                                            
  17. *   Date: 23/09/98                                                           
  18. *                                                                            
  19. ******************************************************************************/
  20. #ifndef _GAMEOVER_H_
  21. #define _GAMEOVER_H_
  22. #include "GameObject.h"
  23. class CGameOver : public CGameObject
  24. {
  25. public:
  26.     CGameOver ();
  27.     ~CGameOver();
  28.     StateType           CalcState (DWORD dwCurTime);
  29.     ObjectHeightType    GetHeight();
  30.     HIMAGE              GetImage();
  31.     CReaction           React(CGameObject *pTo);
  32.     GameObjectType      GetType();
  33. private:
  34.     HIMAGE    m_hImage;
  35. };
  36. #include "GameOver.inl"
  37. #endif