Connor Taylor-Brown
425cc7f91f
Changed ControlKey to use BoatActionEnum instead of magic numbers.
2017-08-04 21:27:53 +12:00
Joseph Gardner
67c7c88b32
Print statements now print off the actual key action. #story[1089]
2017-07-27 14:06:40 +12:00
Joseph Gardner
6492ba89ab
Merging main features into story 6. App now sends and receives key strokes. #story[1007, 1089]
2017-07-27 12:36:34 +12:00
Joseph Gardner
0ea7fb8c84
Merging main features into story 6. App now sends and receives key strokes. #story[1007, 1089]
2017-07-27 12:23:44 +12:00
Connor Taylor-Brown
0352e3310d
Set up Boat Action Message encoding
...
- Fixed command number for sails out
#story[1089]
2017-07-27 00:48:19 +12:00
Connor Taylor-Brown
e670ded66d
ControllerClient can retrieve valid protocol code from each key press
...
- ControlKey now includes protocolCode property
- RaceController now fires action with each key press
- Shift toggles sail state appropriately
#story[1089]
2017-07-26 23:40:39 +12:00
Connor Taylor-Brown
86e8cb7560
Refactored KeyFactory to ensure single instance of each key state handler.
...
#story[1089]
2017-07-26 23:22:05 +12:00
Connor Taylor-Brown
cc264f318e
Added ControllerClient and ControllerServer
...
- StartController sets up client-wide ControllerClient on socket to game server.
- RaceController now calls ControllerClient.sendKey with each keypress
- ConnectionAcceptor runs ControllerServer for each successfully connected client
#story[1089]
2017-07-26 22:57:01 +12:00
hba56
1ebbb8d4c7
merged in the changes from the master branch so that latter mergers can run smoothly
...
#story[1087]
2017-07-24 12:05:00 +12:00