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

游戏

开发平台:

Visual C++

  1. /*****************************************************************************
  2. *                                                                             
  3. *   Bomber.inl
  4. *                                                                             
  5. *   Electrical Engineering Faculty - Software Lab                             
  6. *   Spring semester 1998                                                      
  7. *                                                                             
  8. *   Tanks game                                                                
  9. *                                                                             
  10. *   Contents: Inline functions implementations.
  11. *                                                                             
  12. *   Authors: Eran Yariv - 28484475                                           
  13. *            Moshe Zur  - 24070856                                           
  14. *                                                                            
  15. *                                                                            
  16. *   Date: 23/09/98                                                           
  17. *                                                                            
  18. ******************************************************************************/
  19. inline 
  20. CBomber::~CBomber()
  21. {
  22. }
  23. inline HIMAGE 
  24. CBomber::GetImage()
  25. {
  26.     return m_hImage;
  27. }
  28. inline GameObjectType 
  29. CBomber::GetType()
  30. {
  31.     return BOMBER;
  32. }
  33. inline ObjectHeightType 
  34. CBomber::GetHeight()
  35. {
  36.     return SKY_LEVEL;
  37. }
  38. inline BOOL
  39. CBomber::IsLocal ()
  40. {
  41.     return m_bLocal;
  42. }
  43. inline CReaction           
  44. CBomber::React(CGameObject *)
  45. {
  46.     return CReaction ();    // Indifferent object
  47. }