Implemented wind walker algorithm. Refactored some GameState updating logic to allow for better token logic integration

GameState: Moved all token logic into its own function startPoint so that it is dsijoint from other updating logic
GameState: Implemented wind walker algorithm.
GameState: Changed Generic 'speedMultiplier' to 'serverSpeedMultiplier' to make it obviously disjoint from a boats speed multiplier
MessageFactory: Moved some found message creation (Chatter Message)  server side into MessageFactory that wasnt already there
ServerYacht: Added a speed multiplier and a handling multiplier to the serveryacht class that is set and reset upon powerup / down

#story[1293]
This commit is contained in:
William Muir
2017-09-22 23:44:03 +12:00
parent a3c555d5fe
commit 061e49bab9
5 changed files with 158 additions and 51 deletions
@@ -39,6 +39,4 @@ public class Token extends GeoPoint {
tokenTypeList.remove(TokenType.RANDOM);
tokenType = tokenTypeList.get(random.nextInt(tokenTypeList.size()));
}
}