| Package | Description |
|---|---|
| packages.login | |
| serverControl | |
| tcpService |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
Login.getNewPackage(java.lang.String name,
GameMode role) |
| Modifier and Type | Method and Description |
|---|---|
GameMode |
ConnectedPerson.getRole() |
static GameMode |
GameMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameMode[] |
GameMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
ServerController.setNewConnectedPerson(java.lang.String name,
GameMode role)
It saves a clients' data and looks for the name usage
if the name already exists you can't set up a new player with this method
|
void |
ConnectedPerson.setRole(GameMode role)
setup The status of the player is it a player or a visitor
|
| Modifier and Type | Method and Description |
|---|---|
GameMode |
WarriorServerThread.getRole() |
GameMode |
DataManagementController.getRole() |
| Modifier and Type | Method and Description |
|---|---|
void |
WarriorServerThread.setRole(GameMode role)
set up the role for this game
|
void |
DataManagementController.setRole(GameMode role)
does he only want to visit the Game?
|