A B C E G I M N O P R S T U

A

addLogStream(PrintWriter) - Method in class reversi.Arena
 
Arena - class reversi.Arena.
Aufrufsyntax des Programms Arena:
Arena(ProgramParameters) - Constructor for class reversi.Arena
 

B

BoardCanvas - class reversi.BoardCanvas.
 
BoardCanvas() - Constructor for class reversi.BoardCanvas
 
BoardMaster - interface reversi.BoardMaster.
 

C

checkMove(int, Coordinates) - Method in class reversi.TextGameBoard
This method checks whether a given move would be valid.
Coordinates - class reversi.Coordinates.
Die Klasse Coordinates beschreibt eine Position auf dem Spielfeld.
Coordinates(int, int) - Constructor for class reversi.Coordinates
Erzeugt eine neues Coordinates-Objekt, das die Position row (Zeile), col (Spalte) auf dem Spielfeld beschreibt.
countStones(int) - Method in class reversi.TextGameBoard
Counts the number of pieces for the given player.

E

EMPTY - Static variable in interface reversi.GameBoard
Diese Konstante symbolisiert eine leere Position auf dem Spielfeld.

G

GameBoard - interface reversi.GameBoard.
Das interface GameBoard stellt für Implementierungen von ReversiPlayer die Schnittstelle zum Spielbrett dar.
getBacklog() - Method in class reversi.Arena
 
getCol() - Method in class reversi.Coordinates
Liefert die Spalte der durch das Objekt beschriebenen Position zurück.
getImage() - Method in class reversi.Arena
 
getImage() - Method in interface reversi.BoardMaster
 
getPosition(Coordinates) - Method in interface reversi.GameBoard
Gibt eine Konstante zurück, die den Spielstein an der spezifizierten Position beschreibt.
getPosition(Coordinates) - Method in class reversi.TextGameBoard
This method gives access to the player to find out the status of the game board.
getPosition(int, int) - Method in class reversi.TextGameBoard
Same as other, but with x and y instead.
getRow() - Method in class reversi.Coordinates
Liefert die Zeile der durch das Objekt beschriebenen Position zurück.
getSize() - Method in interface reversi.GameBoard
Gibt die Ausdehnung des Spielfeldes zurück.
getSize() - Method in class reversi.TextGameBoard
Method implementing the interface @see GameBoard.
GREEN - Static variable in interface reversi.GameBoard
Diese Konstante symbolisiert einen grünen Stein auf dem Spielfeld.

I

initialize(int, long) - Method in interface reversi.ReversiPlayer
Übergibt dem Spieler seine zugewiesene Farbe und die für beide Spieler identische Zeitbeschränkung in Millisekunden.
isFull() - Method in class reversi.TextGameBoard
Checks whether the board is already full.
isMoveAvailable(int) - Method in class reversi.TextGameBoard
This method returns true if there is at least one possible move for player and false if he has to pass.

M

main(String[]) - Static method in class reversi.Arena
Arena main method.
makeMove(int, Coordinates) - Method in class reversi.TextGameBoard
This method sets the piece for the given player and updates the board by flipping all possible of the opponent's pieces.

N

nextMove(GameBoard) - Method in interface reversi.ReversiPlayer
Berechnet auf der Basis des übergebenen Spielfeldes den nächsten Sielzug.

O

OutOfBoundsException - exception reversi.OutOfBoundsException.
 
OutOfBoundsException(String) - Constructor for class reversi.OutOfBoundsException
 

P

paint(Graphics) - Method in class reversi.BoardCanvas
 

R

RED - Static variable in interface reversi.GameBoard
Diese Konstante symbolisiert einen roten Stein auf dem Spielfeld.
ReversiPlayer - interface reversi.ReversiPlayer.
 

S

setMaster(BoardMaster) - Method in class reversi.BoardCanvas
 
setTimeBeforeExit(int) - Method in class reversi.Arena
 
startMatch() - Method in class reversi.Arena
 

T

TextGameBoard - class reversi.TextGameBoard.
A class to handle all actions related to the Reversi Game Board.
TextGameBoard() - Constructor for class reversi.TextGameBoard
Constructor needs the specific Canvas to call its drawing methods.
TimeExceededException - exception reversi.TimeExceededException.
 
TimeExceededException() - Constructor for class reversi.TimeExceededException
 
toString() - Method in class reversi.Coordinates
Liefert eine String-Darstellung der duch das Objekt beschriebenen Position zurück, z.B.: Coordinates( 4, 7 ).
toString() - Method in class reversi.TextGameBoard
 

U

update(Graphics) - Method in class reversi.BoardCanvas
 
updateBoard(GameBoard) - Method in class reversi.TextGameBoard
Clone the situation of the board.

A B C E G I M N O P R S T U