/[eliot]/eliot/game/turn.cpp
ViewVC logotype

Diff of /eliot/game/turn.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by ipkiss, Fri Nov 4 20:00:06 2005 UTC revision 1.4 by ipkiss, Fri Nov 4 23:26:03 2005 UTC
# Line 90  Round Turn::getRound() const Line 90  Round Turn::getRound() const
90  }  }
91    
92    
93  void  void Turn::operator=(const Turn &iOther)
 Turn::operator=(const Turn &iOther)  
94  {  {
95      num     = iOther.num;      num     = iOther.num;
96      pldrack = iOther.pldrack;      pldrack = iOther.pldrack;
# Line 99  Turn::operator=(const Turn &iOther) Line 98  Turn::operator=(const Turn &iOther)
98  }  }
99    
100    
101  string  string Turn::toString(bool showExtraSigns) const
 Turn::toString(bool showExtraSigns) const  
102  {  {
103      string rs = "";      string rs = "";
104      if (showExtraSigns)      if (showExtraSigns)
105          {      {
106              rs = ""; // TODO          rs = ""; // TODO
107          }      }
108      rs = rs + pldrack.toString() + " " + round.toString();      rs = rs + pldrack.toString() + " " + round.toString();
109      return rs;      return rs;
110  }  }
111    
112    
   
113  /// Local Variables:  /// Local Variables:
114  /// mode: hs-minor  /// mode: hs-minor
115  /// c-basic-offset: 4  /// c-basic-offset: 4

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26