Fixed fileParser in order to read time scale in decimal

- json-simple can read either long or double. Updated getScaleTime to make it capable to read a decimal number.

#fix #story[5]
This commit is contained in:
Haoming Yin
2017-03-08 14:13:23 +13:00
parent 2adf39ee43
commit 0ab2e7881f
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"race-name": "AC35",
"time-scale": 1000,
"time-scale": 1.0,
"race-size": 4,
"teams": [
{"team-name": "Oracle Team USA", "velocity": 20.9},