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