Fan-Wu Yang
3ac93ae1e5
Documentation and Refactor
...
- Changed Race to an abstract class
- Protected and privated certain variables
- Wrote Javadocs for the classes and functions
- Moved generate race from RandomisedRace and ConstantVelocityRace to the abstract Race class
- Added string checking exception for Scanner for whether to run in 1 minute or 5 minutes
#pair[fwy13, cbt24]
2017-03-09 16:43:30 +13:00
Fan-Wu Yang
2d777b8903
Implemented user input
...
- Changed it from launching the program with args setting to with Scanner.
- Changed field 'factor' to 'timescale' in Race class
#story [5] #pair[fwy13, cbt24]
2017-03-09 16:03:27 +13:00
Connor Taylor-Brown
1a9cf5bdda
Allow users to choose timescale of race playback. Playback is ~1 min by default, real-time selected with command line variable '-5'. Rescaled race marker positions to distances appropriate for a ~5 minute race.
2017-03-08 19:00:09 +13:00
Connor Taylor-Brown
b1f588248b
Display list of finishers after race ends.
2017-03-08 18:23:20 +13:00
Fan-Wu Yang
2db4beadcb
Boats now display knots, also the racecouse has been modified to reflect the AC35 racecourse via linear coordinates.
2017-03-08 16:24:51 +13:00
Fan-Wu Yang
f62c4dcb3d
Added Display of all Boats participating in the race, and a message to seperate this and the events in the console.
2017-03-08 15:35:40 +13:00
cbt24
377683ef8c
Displayed information for all boats.
2017-03-06 17:02:18 +13:00
Fan-Wu Yang
00bd194361
Added heading from each event that the boat is heading towards.
2017-03-06 16:59:09 +13:00
cbt24
7c0d9203a5
Boats pass marks at times according to boat speed and distance of mark from start.
2017-03-06 16:20:20 +13:00
Fan-Wu Yang
4f6ab7b4bc
Added simulation of a race with randomised time events. This is reported in time order and shown in the console which is displayed as "Boat passed Mark at 60 (seconds)"
2017-03-06 15:46:19 +13:00
cbt24
2148c1e06d
Added mark and gate events to race
2017-03-03 11:46:52 +13:00
Fan-Wu Yang
02cc98b0b6
Story 3 complete added all AC35 Teams into the program.
2017-03-03 11:38:35 +13:00
Connor Benjamin Alexander Taylor Brown
987dcdac01
Display order of boats per event
2017-03-03 11:34:34 +13:00
Fan-Wu Yang
21487340ab
Story 1 completion, Added Boat and Event classes. The program displays two boats New Zealand and America.
2017-03-03 11:02:31 +13:00
SENG302
9649f67863
initial commit
2016-03-01 19:08:07 +13:00