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

游戏

开发平台:

Visual C++

  1. /*****************************************************************************
  2. *                                                                             
  3. *   AnimateTank.h
  4. *                                                                             
  5. *   Electrical Engineering Faculty - Software Lab                             
  6. *   Spring semester 1998                                                      
  7. *                                                                             
  8. *   Tanks game                                                                
  9. *                                                                             
  10. *   Module description: Interface of the AnimateTank class.
  11. *                       
  12. *                                                                             
  13. *   Authors: Eran Yariv - 28484475                                           
  14. *            Moshe Zur  - 24070856                                           
  15. *                                                                            
  16. *                                                                            
  17. *   Date: 23/09/98                                                           
  18. *                                                                            
  19. ******************************************************************************/
  20. #if !defined(AFX_ANIMATETANK_H__E52AF544_E83A_11D1_9738_B56BC683A70E__INCLUDED_)
  21. #define AFX_ANIMATETANK_H__E52AF544_E83A_11D1_9738_B56BC683A70E__INCLUDED_
  22. #if _MSC_VER >= 1000
  23. #pragma once
  24. #endif // _MSC_VER >= 1000
  25. // AnimateTank.h : header file
  26. //
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CAnimateTank window
  29. class CAnimateTank : public CAnimateCtrl
  30. {
  31. // Construction
  32. public:
  33.     CAnimateTank();
  34.     virtual ~CAnimateTank() {}
  35.     BOOL IsSelected ()  { return m_bSelected; }
  36.     void Select ();     
  37.     void Unselect ();
  38.     BOOL Init(int index, CWnd *);
  39. private:
  40.     BOOL m_bSelected;
  41. };
  42. #endif // !defined(AFX_ANIMATETANK_H__E52AF544_E83A_11D1_9738_B56BC683A70E__INCLUDED_)