You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
660 B
43 lines
660 B
package seng302.Model;
|
|
|
|
import seng302.Data.RaceData;
|
|
import seng302.Model.Race;
|
|
import seng302.RaceDataSource;
|
|
|
|
/**
|
|
* Created by esa46 on 21/04/17.
|
|
*/
|
|
public class Event {
|
|
|
|
RaceDataSource raceData;
|
|
|
|
public Event(RaceDataSource raceData) {
|
|
this.raceData = raceData;
|
|
}
|
|
|
|
public void start() {
|
|
sendRegattaData();
|
|
sendRaceData();
|
|
sendBoatData();
|
|
|
|
Race newRace = new Race(raceData, 15);
|
|
new Thread((newRace)).start();
|
|
}
|
|
|
|
public void sendRegattaData() {
|
|
|
|
}
|
|
|
|
public void sendRaceData() {
|
|
RaceData raceData = new RaceData();
|
|
|
|
|
|
|
|
}
|
|
|
|
public void sendBoatData() {
|
|
|
|
}
|
|
|
|
}
|