Message.inl
Upload User: royluo
Upload Date: 2007-01-05
Package Size: 1584k
Code Size: 2k
Category:

Game Program

Development Platform:

Visual C++

  1. /*****************************************************************************
  2. *                                                                             
  3. *   Message.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 void    
  20. CMessage::SetTime (DWORD dwTime)
  21. {
  22.     m_dwMsgTime = dwTime;
  23. }
  24. inline DWORD   
  25. CMessage::GetTime () const
  26. {
  27.     return m_dwMsgTime;
  28. }
  29. inline CMessage::MessageType 
  30. CMessage::GetType () const
  31. {
  32.     return m_Type;
  33. }
  34. inline void        
  35. CMessage::SetType ( MessageType typ)
  36. {
  37.     m_Type = typ;
  38. }