re added the standard race
#story[1193]
This commit is contained in:
@@ -85,7 +85,7 @@ public class Event {
|
|||||||
|
|
||||||
String raceXMLFile;
|
String raceXMLFile;
|
||||||
switch (mapIndex){
|
switch (mapIndex){
|
||||||
case 0:raceXMLFile = "mock/mockXML/raceTest.xml";
|
case 0:raceXMLFile = "mock/mockXML/raceSixPlayers.xml";
|
||||||
break;
|
break;
|
||||||
case 1:raceXMLFile = "mock/mockXML/oMapLayout.xml";
|
case 1:raceXMLFile = "mock/mockXML/oMapLayout.xml";
|
||||||
break;
|
break;
|
||||||
@@ -93,7 +93,7 @@ public class Event {
|
|||||||
break;
|
break;
|
||||||
case 3: raceXMLFile = "mock/mockXML/mMapLayout.xml";
|
case 3: raceXMLFile = "mock/mockXML/mMapLayout.xml";
|
||||||
break;
|
break;
|
||||||
default: raceXMLFile = "mock/mockXML/raceTest.xml";
|
default: raceXMLFile = "mock/mockXML/raceSixPlayers.xml";
|
||||||
|
|
||||||
}
|
}
|
||||||
String boatsXMLFile = "mock/mockXML/boatTest.xml";
|
String boatsXMLFile = "mock/mockXML/boatTest.xml";
|
||||||
|
|||||||
@@ -6,7 +6,11 @@
|
|||||||
<RaceStartTime Postpone="false" Time="RACE_START_TIME"/>
|
<RaceStartTime Postpone="false" Time="RACE_START_TIME"/>
|
||||||
<Participants>
|
<Participants>
|
||||||
<Yacht SourceID="121"/>
|
<Yacht SourceID="121"/>
|
||||||
|
<Yacht SourceID="122"/>
|
||||||
|
<Yacht SourceID="123"/>
|
||||||
|
<Yacht SourceID="124"/>
|
||||||
|
<Yacht SourceID="125"/>
|
||||||
|
<Yacht SourceID="126"/>
|
||||||
</Participants>
|
</Participants>
|
||||||
<CompoundMarkSequence>
|
<CompoundMarkSequence>
|
||||||
<Corner SeqID="1" CompoundMarkID="1" Rounding="SP" ZoneSize="3" />
|
<Corner SeqID="1" CompoundMarkID="1" Rounding="SP" ZoneSize="3" />
|
||||||
|
|||||||
+3
@@ -5,6 +5,9 @@
|
|||||||
<CreationTimeDate>RACE_CREATION_TIME</CreationTimeDate>
|
<CreationTimeDate>RACE_CREATION_TIME</CreationTimeDate>
|
||||||
<RaceStartTime Postpone="false" Time="RACE_START_TIME"/>
|
<RaceStartTime Postpone="false" Time="RACE_START_TIME"/>
|
||||||
<Participants>
|
<Participants>
|
||||||
|
<Yacht SourceID="121"/>
|
||||||
|
<Yacht SourceID="122"/>
|
||||||
|
<Yacht SourceID="123"/>
|
||||||
<Yacht SourceID="124"/>
|
<Yacht SourceID="124"/>
|
||||||
<Yacht SourceID="125"/>
|
<Yacht SourceID="125"/>
|
||||||
<Yacht SourceID="126"/>
|
<Yacht SourceID="126"/>
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<?import java.lang.*?>
|
||||||
|
<?import javafx.geometry.*?>
|
||||||
|
<?import javafx.scene.control.*?>
|
||||||
|
<?import javafx.scene.image.*?>
|
||||||
|
<?import javafx.scene.layout.*?>
|
||||||
|
<?import javafx.scene.text.*?>
|
||||||
<?import javafx.geometry.Insets?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
@@ -10,7 +16,7 @@
|
|||||||
<?import javafx.scene.layout.RowConstraints?>
|
<?import javafx.scene.layout.RowConstraints?>
|
||||||
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Font?>
|
||||||
|
|
||||||
<AnchorPane fx:id="hostWrapper" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="780.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="visualiser.Controllers.HostController">
|
<AnchorPane fx:id="hostWrapper" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="780.0" visible="false" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="visualiser.Controllers.HostController">
|
||||||
<children>
|
<children>
|
||||||
<GridPane layoutY="14.0" AnchorPane.bottomAnchor="-14.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="14.0">
|
<GridPane layoutY="14.0" AnchorPane.bottomAnchor="-14.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="14.0">
|
||||||
<columnConstraints>
|
<columnConstraints>
|
||||||
|
|||||||
Reference in New Issue
Block a user