Uses of Class
Player

Uses of Player in <Unnamed>
 

Subclasses of Player in <Unnamed>
 class PlayerAI
           
 class PlayerHuman
           
 

Methods in <Unnamed> with parameters of type Player
 void PlayerAI.advance(Player player)
          Advance piece.
 void PlayerAI.attack(Player player)
          Tries to capture highest value enemy piece.
 void PlayerAI.defense(Player player)
          If piece in danger move to a safe square.
 void PlayerAI.doBestMove(Player player)
          Performs the best possible move in different situations.
 boolean Move.doMove(Player player, java.lang.String srcSq, java.lang.String destSq)
          Move piece in selected square to destination square.
 boolean PlayerAI.isCheckmate(Player player)
          Check if player's King is in checkmate.
 boolean PlayerAI.isSquareSafe(int x, int y, Player player)
          check that enemy can't move to selected square on next round.
 void HistoryOfMoves.printOutMoves(Player player)
          Prints out selected player's history of movements.
 void Game.raffleSide(Player player1, Player player2)
          raffle which player gets which color/side to start with.