public interface GridDisplay
GridDisplay
interface specifies the
methods that must be provided by any class used to display
a Grid
object and its contents.
The GridDisplay
class is based on the
College Board's EnvDisplay
class,
as allowed by the GNU General Public License.
Modifier and Type | Method and Description |
---|---|
void |
setGrid(Grid grid)
Sets the Grid being displayed.
|
void |
showGrid()
Shows the current state of the grid.
|
void setGrid(Grid grid)
grid
- the Grid to displayvoid showGrid()