Reformatted and refactored the fileparser to get xml from resource folder

#fix #refactor #story[377] #pair[xyi25, zyt10]
This commit is contained in:
Haoming Yin
2017-03-24 12:55:11 +13:00
parent e8b1720fee
commit 304f30ece6
12 changed files with 148 additions and 103 deletions
-31
View File
@@ -1,31 +0,0 @@
{
"race-name": "AC35",
"time-scale": 1.0,
"race-size": 6,
"teams": [
{
"team-name": "Oracle Team USA",
"velocity": 30.9
},
{
"team-name": "Artemis Racing",
"velocity": 59.3
},
{
"team-name": "Emirates Team New Zealand",
"velocity": 51.5
},
{
"team-name": "Groupama Team France",
"velocity": 29.9
},
{
"team-name": "Land Rover BAR",
"velocity": 99.6
},
{
"team-name": "SoftBank Team Japan",
"velocity": 45.6
}
]
}