WIP Totem
This commit is contained in:
@@ -26,6 +26,8 @@ public class ClientController {
|
||||
/** Network client (either TCP or RMI) */
|
||||
private IClient client;
|
||||
|
||||
public String myUsername;
|
||||
|
||||
|
||||
/**
|
||||
* Constructs the ClientController.
|
||||
@@ -56,6 +58,10 @@ public class ClientController {
|
||||
view.setModel(miniModel);
|
||||
}
|
||||
|
||||
public void setMyUsername (String username) {
|
||||
this.myUsername=username;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Displays an error message in the view.
|
||||
|
||||
Reference in New Issue
Block a user