Package | Description |
---|---|
Game | |
GUI | |
ScoreManagement |
Modifier and Type | Field and Description |
---|---|
User |
Player.user |
Constructor and Description |
---|
ComputerPlayer(Game game,
User user,
java.lang.String color) |
HumanPlayer(Game game,
User user,
java.lang.String color) |
Player(Game game,
User user,
java.lang.String color) |
Modifier and Type | Method and Description |
---|---|
static User |
Options.getPlayer1() |
static User |
Options.getPlayer2() |
Modifier and Type | Field and Description |
---|---|
User |
GameResult.player1 |
User |
GameResult.player2 |
static User[] |
ScoreManagement.users |
User |
GameResult.winner |
Modifier and Type | Method and Description |
---|---|
static User[] |
ScoreManagement.getComputerUsers() |
static User[] |
ScoreManagement.getHumanUsers() |
static User |
ScoreManagement.getUserByDiff(int diff)
Gets an User instance for the computer player with the specified difficulty level
|
static User |
ScoreManagement.getUserByID(int ident)
Gets an User instance for the given ID, or null if no such user exists
|
Constructor and Description |
---|
GameResult(User p1,
User p2,
User win,
java.lang.String date,
int moves)
Constructor
Initialize the internal variables
|