Index

A B C D E G H I J K M N P R S T U V W X Y 
All Classes|All Packages

G

Game - Class in castle.comp3021.assignment.protocol
The Game class
Game(Configuration) - Constructor for class castle.comp3021.assignment.protocol.Game
 
getAvailableMoves(Game, Place) - Method in class castle.comp3021.assignment.piece.Archer
Returns an array of moves that are valid given the current place of the piece.
getAvailableMoves(Game, Place) - Method in class castle.comp3021.assignment.piece.Knight
Returns an array of moves that are valid given the current place of the piece.
getAvailableMoves(Game, Place) - Method in class castle.comp3021.assignment.protocol.Piece
Returns an array of moves that are valid given the current place of the piece.
getAvailableMoves(Player) - Method in class castle.comp3021.assignment.JesonMor
Get all available moves of one player.
getAvailableMoves(Player) - Method in class castle.comp3021.assignment.protocol.Game
Get all available moves of one player.
getCentralPlace() - Method in class castle.comp3021.assignment.protocol.Configuration
 
getCentralPlace() - Method in class castle.comp3021.assignment.protocol.Game
 
getColor() - Method in class castle.comp3021.assignment.protocol.Player
Get color used to represent this player.
getConfiguration() - Method in class castle.comp3021.assignment.protocol.Game
 
getCurrentPlayer() - Method in class castle.comp3021.assignment.protocol.Game
 
getDestination() - Method in class castle.comp3021.assignment.protocol.Move
 
getInitialBoard() - Method in class castle.comp3021.assignment.protocol.Configuration
 
getLabel() - Method in class castle.comp3021.assignment.piece.Archer
 
getLabel() - Method in class castle.comp3021.assignment.piece.Knight
 
getLabel() - Method in class castle.comp3021.assignment.protocol.Piece
Returns a char which is used to facilitate output in the console
getMove() - Method in class castle.comp3021.assignment.protocol.MoveRecord
 
getName() - Method in class castle.comp3021.assignment.protocol.Player
 
getNumMoves() - Method in class castle.comp3021.assignment.protocol.Game
 
getNumMovesProtection() - Method in class castle.comp3021.assignment.protocol.Configuration
 
getPiece(int, int) - Method in class castle.comp3021.assignment.protocol.Game
 
getPiece(Place) - Method in class castle.comp3021.assignment.protocol.Game
Get the piece in the place
getPlayer() - Method in class castle.comp3021.assignment.protocol.MoveRecord
 
getPlayer() - Method in class castle.comp3021.assignment.protocol.Piece
 
getPlayers() - Method in class castle.comp3021.assignment.protocol.Configuration
 
getPlayers() - Method in class castle.comp3021.assignment.protocol.Game
 
getScore() - Method in class castle.comp3021.assignment.protocol.Player
 
getSize() - Method in class castle.comp3021.assignment.protocol.Configuration
 
getSource() - Method in class castle.comp3021.assignment.protocol.Move
 
getWinner(Player, Piece, Move) - Method in class castle.comp3021.assignment.JesonMor
Get the winner of the game.
getWinner(Player, Piece, Move) - Method in class castle.comp3021.assignment.protocol.Game
Get the winner of the game.
GREEN - castle.comp3021.assignment.protocol.Color
 
A B C D E G H I J K M N P R S T U V W X Y 
All Classes|All Packages