コード例 #1
0
 public GreenCar(Map m)
 {
     startPosition   = m.startPositions.ElementAt(1);
     currentPosition = startPosition;
     cState          = new CarState(currentPosition, "idle", 0, "east");
     finished        = false;
 }
コード例 #2
0
 public BlueCar(Map m)
 {
     startPosition   = m.startPositions.ElementAt(2);
     currentPosition = path.ElementAt(currentStepOnRoad);
     cState          = new CarState(currentPosition, "idle", 0, "east");
     finished        = false;
 }