Пример #1
0
 public void setStraightaway(int i, Straightaway s)
 {
     m_track[i] = s;
 }
Пример #2
0
 ////Returns true if the Straightaway supplied is the end of the track,
 ////false otherwise.
 public bool isEnd(Straightaway s)
 {
     return(s.id >= maxStraightawayPosition);
 }