Commit Graph

4 Commits

Author SHA1 Message Date
Haoming Yin 0ab2e7881f 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]
2017-03-08 14:13:23 +13:00
Haoming Yin 2b464d16f9 Fixed some bugs
/#pair[hyi25, mra106]
2017-03-08 13:31:44 +13:00
Michael Rausch ab1445f1c2 Race events now display the boats heading and direction
- The boats velocity is being read from the config file
- The event text is now being printed when the leg starts #fix

Tags: #story[7] #implement
2017-03-08 12:31:31 +13:00
Haoming Yin 33efe57ba4 Added updated config file within team name, velocity and race-size.
- Changed ‘teams’ to an array containing maps of each team. In each team map, it contains team name and boat velocity.
- Added race size which represents how many boats would compete during a race.

#story[7] #story[8]
2017-03-06 18:40:39 +13:00