Kusal Ekanayake
5df7efda03
Started implementing the gameState broadcasts.
...
Initial xml files are almost broad casted, just need to create them (or import the for the regatta). Started the setup for sending boat location packets, should work once we get at least the boat xml working when being sent.
#story[1047]
2017-07-21 13:16:43 +12:00
Alistair McIntyre
da7a34fc55
Started adding functionality to calculate yacht velocity from the wind speed and direction using polar tables. Also began writing tests to cover this functionality, as it can't currently be tested within the game itself.
...
#story[986]
2017-07-20 14:30:13 +12:00
Peter Galloway
e317de7562
Added mock yachts to the game state for each client #story[1047]
2017-07-20 13:11:37 +12:00
Peter Galloway
63d24c001f
Added position update in yacht #story[1047]
2017-07-19 19:41:07 +12:00
William Muir
035841f221
WIP: Adapted the old server thread class to the GameServerThread class to allow multiple clients to connect
...
tags: #story[1047] #pair[wmu16, mra106]
2017-07-11 17:03:32 +12:00
Calum
65223ceaaf
shifted annotation layers. Merged with dev.
2017-05-25 16:29:27 +12:00
Calum
b73e4c89db
Merge remote-tracking branch 'origin/develop' into remove_observers
...
# Conflicts:
# src/main/java/seng302/controllers/CanvasController.java
# src/main/java/seng302/controllers/RaceViewController.java
# src/main/java/seng302/fxObjects/BoatGroup.java
# src/main/java/seng302/fxObjects/MarkGroup.java
# src/main/java/seng302/models/Yacht.java
2017-05-25 14:52:54 +12:00
Kusal Ekanayake
6e903bfbed
Merge branch 'develop' into 38b_LayLines
...
# Conflicts:
# src/main/java/seng302/App.java
# src/main/java/seng302/models/Yacht.java
# src/main/java/seng302/models/stream/StreamParser.java
2017-05-25 14:16:55 +12:00
Kusal Ekanayake
53f6a6b8c5
Implimented a new way to determine positions
...
#story[952]
2017-05-25 14:06:33 +12:00
William Muir
67b5650288
Merge branch 'develop' into 38b_LayLines
...
# Conflicts:
# src/main/java/seng302/controllers/RaceViewController.java
# src/main/java/seng302/models/Yacht.java
2017-05-25 09:19:42 +12:00
Calum
3085125f3e
Merged with develop
2017-05-25 01:21:40 +12:00
Calum
5e26ad7c36
Merge remote-tracking branch 'origin/develop' into remove_observers
...
# Conflicts:
# src/main/java/seng302/App.java
# src/main/java/seng302/controllers/CanvasController.java
# src/main/java/seng302/controllers/RaceViewController.java
# src/main/java/seng302/models/Yacht.java
2017-05-25 01:12:10 +12:00
Calum
765ea06c3b
Several tweaks and improvements to a annotations and other visual aspects of them program. Fixed bug causing minimization crashes.
...
#implement #refactor #issue[23]
2017-05-25 01:02:33 +12:00
Kusal Ekanayake
e6aed88188
Merge with develop.
...
#story[952]
2017-05-24 18:56:56 +12:00
Kusal Ekanayake
d032314ddb
Merge branch 'develop' into Story34_Sparklines
...
# Conflicts:
# src/main/java/seng302/controllers/RaceViewController.java
# src/main/java/seng302/models/Yacht.java
2017-05-24 18:56:04 +12:00
Calum
acbde5aad8
Moved boat annotations into their own class. Implemented observer pattern.
...
Observer pattern appears to have caused issues with updating Text objects.
Made annotations look nicer. Kinda.
#refactor
2017-05-24 03:09:11 +12:00
Michael Rausch
ca8ea03870
Added method in mark group to draw lay lines, also added next mark to Yacht class.
...
#story[956]
2017-05-23 18:54:42 +12:00
Kusal Ekanayake
3f57adb9cf
Merge branch 'develop' into Story34_Sparklines
...
# Conflicts:
# src/main/java/seng302/App.java
# src/main/java/seng302/controllers/CanvasController.java
# src/main/java/seng302/controllers/RaceViewController.java
# src/main/resources/views/RaceView.fxml
2017-05-23 14:06:24 +12:00
Zhi You Tan
2686dac62e
Fixed Yacht position initialise. TO-DO: check if the boat is participating before showing up on leaderboard.
2017-05-23 11:53:23 +12:00
Zhi You Tan
ffd40fef6d
Merge remote-tracking branch 'origin/develop' into issue#5_fix_pre-race_boats_on_leaderboard
...
# Conflicts:
# src/main/java/seng302/controllers/RaceController.java
# src/main/java/seng302/controllers/StartScreenController.java
2017-05-23 11:31:18 +12:00
William Muir
e1b8e19966
Initial work on finding next marks for boats as from mark rounding messages
...
Marks were very difficult to extend, need large refactor
Marks now have a compound ID as well as their sourceID. They need this compound ID to be identifiable by the
mark rounding messages.
tags: #story[956] #pair[wmu16, mra106]
2017-05-22 18:54:07 +12:00
Kusal Ekanayake
8f81060a18
Managed to make the sparklines coordinate with their colour.
...
However the symbols had to be removed. The sparkline can also be intialised at any time now but this might need to be tested further to ensure that it works.
#story[952]
2017-05-21 19:49:11 +12:00
Kusal Ekanayake
8e147bd1bd
Making the boat sparkline initialise after the race screen is shown.
...
#story[952]
2017-05-21 14:56:05 +12:00
Michael Rausch
937b309b07
Added boat trails to the boat group, fixed annotations
...
- Set colours for the annotations
- Added boat trails back into the boat group
- Re-added time until next mark and time since last mark rounding
#story[923]
2017-05-19 20:55:02 +12:00
Kusal Ekanayake
48d58ea660
Sparklines now update when a boat passes a mark.
...
There are issue of initialising the sparkline before the race starts and when the race is being viewed when it starts. It works great though when you join a race halfway.
#story[952]
2017-05-19 18:08:26 +12:00
Kusal Ekanayake
951a726309
The line chart now has series which display on it.
...
Need to get the right data to display on the linechart when it updates.
#story[952]
2017-05-18 20:56:42 +12:00
Kusal Ekanayake
390aabc78f
Adding race yacht series to the sparkline.
...
Next step is to make the series of the boats update when new position information is received.
#story[952]
2017-05-18 14:44:10 +12:00
Zhi You Tan
6f9a8e5581
Merge remote-tracking branch 'origin/develop' into issue#5_fix_pre-race_boats_on_leaderboard
2017-05-18 12:20:02 +12:00
Zhi You Tan
b17bba3629
Fixed leaderboard on start screen and race view to show all boats correctly during pre-race.
...
#story[923]
2017-05-18 12:18:51 +12:00
William Muir
2b294702a9
Merge remote-tracking branch 'origin/develop' into 38a_Select_Boats
...
# Conflicts:
# src/main/java/seng302/controllers/RaceViewController.java
# src/main/java/seng302/models/BoatGroup.java
2017-05-17 09:53:18 +12:00
William Muir
764ae37ce4
Gave the boatgroups a selection attribute, allowing them to be highlighted upon clicking
...
Boats can be clicked on canvas or from selection drop down on the side
#story[955]
2017-05-15 14:09:09 +12:00
Zhi You Tan
e62a609b6b
Prepared StreamParser.java, BoatGroup.java, Yacht.java for leg timer annotation (story 36)
...
#story[927]
2017-05-15 13:47:30 +12:00
Zhi You Tan
6935bd514e
Reimplemented race position in the race view. Removed Boat class and Yacht class is replaced completely. Race position "-" shows properly on start screen. Removed BoatTest and TeamsParserTest. Fixed estimated time till finish on server.
...
#story[818]
2017-05-04 13:50:06 +12:00
Zhi You Tan
07234ee33a
Updated start screen team list to show position in race. Created Yacht class to replace Boat class. Removed Boat class from XMLParser. Removed unused BoatParser.java.
...
#story[572]
2017-05-04 04:16:16 +12:00