% Represents a Human Player of the Hex game
classdef HumanPlayer < Player
    methods
        % Creates a Human Player with the given color
        function player = HumanPlayer(color)
            player@Player(color);
        end
        
        % getMove(Player, Game, Board) -> [Number Number]
        % Gets the next move from the human. Waits for a selection
        %  of an empty Hex from the mouse input. Returns the x and y
        %  coordinates of the next move.
        %
        % calls: waitfor(gcf, 'CurrentPoint'), board.isEmpty
        function nextMove = getMove(player, game, board)
        end
    end
end