mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
created config, teams xml file, and teamsParser class
#implement
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
|
||||||
|
<configurations>
|
||||||
|
<race-name>AC35</race-name>
|
||||||
|
<race-size>6</race-size>
|
||||||
|
<time-scale>2.0</time-scale>
|
||||||
|
</configurations>
|
||||||
|
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
|
||||||
|
<teams>
|
||||||
|
<team>
|
||||||
|
<name>Oracle Team USA</name>
|
||||||
|
<alais>USA</alais>
|
||||||
|
<speed>23.4</speed>
|
||||||
|
</team>
|
||||||
|
<team>
|
||||||
|
<name>Emirates Team New Zealand</name>
|
||||||
|
<alais>NZL</alais>
|
||||||
|
<speed>25.2</speed>
|
||||||
|
</team>
|
||||||
|
</teams>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
package seng302.models.parsers;
|
||||||
|
|
||||||
|
public class teamsParser extends FileParser {
|
||||||
|
|
||||||
|
public teamsParser(String path) {
|
||||||
|
super(path);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user