s3games.player

## Class MousePlayer

- java.lang.Object
- - s3games.player.Player
  - - s3games.player.MousePlayer

-     public class MousePlayer
      extends Player

  Mouse player represents a human playing using/clicking the mouse in the window with graphical visualisation of the game board

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class s3games.player.Player

      `Player.boardType, Player.playerType`

  - ### Field Summary

    - ### Fields inherited from class s3games.player.Player

      `maxNodes, number`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MousePlayer(GameSpecification specs, GameWindow win)` construct a new mouse player

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Move` | `move(GameState state, java.util.ArrayList<Move> allowedMoves)` wait for the human user to perform a move and return it

    - ### Methods inherited from class s3games.player.Player

      `isComputer, otherMoved, ratioTimeLeft, setMaximumNumberOfNodes, setMaxTime, setPlayerNumber, startMove, timeUsed`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MousePlayer

          public MousePlayer(GameSpecification specs,
                     GameWindow win)

      construct a new mouse player

  - ### Method Detail

    - #### move

          public Move move(GameState state,
                  java.util.ArrayList<Move> allowedMoves)

      wait for the human user to perform a move and return it
      Specified by:
        `move` in class `Player`