public class User
extends java.lang.Object
| Constructor | Description |
|---|---|
User(java.lang.String username,
int colour) |
Create a new user
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getColour() |
Get the user's piece colour
|
java.lang.String |
getUserName() |
Get the users name
|