Example #1
0
  public Tournament() {

    race = new Race();
    race.setTrack("road", "aalborg");
    race.setTermination(Race.Termination.LAPS, 1);
    race.setStage(Controller.Stage.RACE);
  }
Example #2
0
  public Tournament(String type, String track, int laps) {

    race = new Race();
    race.setTrack(type, track);
    race.setTermination(Race.Termination.LAPS, laps);
    race.setStage(Controller.Stage.RACE);
  }