Public paste
Undefined
By: Guest | Date: Feb 4 2010 08:59 | Format: None | Expires: never | Size: 561 B | Hits: 492

  1. class Node
  2. {
  3. public:
  4.    Node(int iHowFarWeHaveGone, int iHowFarIsLeft, HexCoord hLocationOnMap) : m_iHowFarWeHaveGone(iHowFarWeHaveGone), m_iHowFarIsLeft(iHowFarIsLeft), m_hLocationOnMap(hLocationOnMap)
  5.    {
  6.  
  7.    }
  8.    ~Node()
  9.    {
  10.  
  11.    }
  12.  
  13.    int GetHowFarWeHaveGone()
  14.    {
  15.       return m_iHowFarWeHaveGone;
  16.    }
  17.    int GetHowFarIsLeft()
  18.    {
  19.       return m_iHowFarIsLeft;
  20.    }
  21.    HexCoord GetLocationOnMap()
  22.    {
  23.       return m_hLocationOnMap;
  24.    }
  25.  
  26. private:
  27.    int m_iHowFarWeHaveGone, m_iHowFarIsLeft;
  28.    HexCoord m_hLocationOnMap;
  29. }
Latest pastes
1 days ago
7 days ago
19 days ago
24 days ago
26 days ago