Interface Riddle

  • All Superinterfaces:
    GameMatrix

    public interface Riddle
    extends GameMatrix
    A riddle with free / writable fields.
    Author:
    Stephan Fuhrmann
    • Method Detail

      • getWritable

        boolean getWritable​(int row,
                            int column)
        Get whether a certain field is writable.
        Parameters:
        row - the row of the cell to get the writability for.
        column - the column of the cell to get the writability for.
        Returns:
        true if the cell is writable.
      • setWritable

        void setWritable​(int row,
                         int column,
                         boolean set)
        Set a certain field writable.
        Parameters:
        row - the row of the cell to set the writability for.
        column - the column of the cell to set the writability for.
        set - the value to set for the cell, true means writable.