removed sout and added a longer startup time. Also fixed race xmls to remove set boats
This commit is contained in:
@@ -82,8 +82,8 @@ public class Event {
|
||||
*/
|
||||
public Event(boolean singlePlayer, int mapIndex) throws EventConstructionException {
|
||||
|
||||
System.out.println(XMLUtilities.validateXML(this.getClass().getClassLoader().getResource("mock/mockXML/iMapLayout.xml").toString()
|
||||
, this.getClass().getClassLoader().getResource("mock/mockXML/schema/raceSchema.xsd")));
|
||||
// System.out.println(XMLUtilities.validateXML(this.getClass().getClassLoader().getResource("mock/mockXML/iMapLayout.xml").toString()
|
||||
// , this.getClass().getClassLoader().getResource("mock/mockXML/schema/raceSchema.xsd")));
|
||||
|
||||
String raceXMLFile;
|
||||
switch (mapIndex){
|
||||
|
||||
@@ -42,6 +42,7 @@ public class SourceIdAllocator {
|
||||
}
|
||||
|
||||
List<Integer> allocatedIDs = mockRace.getRaceDataSource().getParticipants();
|
||||
|
||||
List<Integer> allIDs = new ArrayList<>(mockRace.getBoatDataSource().getBoats().keySet());
|
||||
|
||||
//Get list of unallocated ids.
|
||||
|
||||
@@ -46,7 +46,7 @@ public class Constants {
|
||||
* The race preparatory time, in milliseconds. 1 minute.
|
||||
*/
|
||||
// public static final long RacePreparatoryTime = 60 * 1000;
|
||||
public static final long RacePreparatoryTime = 3 * 1000;
|
||||
public static final long RacePreparatoryTime = 1 * 60 * 1000;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user