Action packets now sent at regular 20ms intervals

#issue[38] #implement
This commit is contained in:
Calum
2017-08-06 22:17:08 +12:00
parent 43788bd153
commit 8a40119a98
16 changed files with 286 additions and 189 deletions
@@ -13,7 +13,8 @@ public enum BoatActionType {
SAILS_OUT(3),
TACK_GYBE(4),
UPWIND(5),
DOWNWIND(6);
DOWNWIND(6),
MAINTAIN_HEADING(7);
private final int type;
private static final Map<Integer, BoatActionType> intToTypeMap = new HashMap<>();