Fixed documentation bugs not relevant to story.

This commit is contained in:
Connor Taylor-Brown
2017-08-15 00:52:50 +12:00
parent 848edfc6a4
commit b97bfe62a6
2 changed files with 4 additions and 8 deletions
@@ -30,19 +30,15 @@ public class ControllerServer extends Observable implements Runnable {
* Last received boat action
*/
private BoatActionEnum action;
/**
*
*/
private RaceLogic rc;
/**
* Initialise server-side controller with live client socket
* @param socket to client
* @param race logic loop observing controls
*/
public ControllerServer(Socket socket, RaceLogic rc) {
public ControllerServer(Socket socket, RaceLogic race) {
this.socket = socket;
this.rc = rc;
this.addObserver(rc);
this.addObserver(race);
try {
this.inputStream = new DataInputStream(this.socket.getInputStream());
} catch (IOException e) {