public interface GridScreen
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the entire screen.
|
void |
place(int x,
int y,
int type)
Changes the image in a cell.
|
void |
placeTranslucent(int x,
int y,
int type)
Changes the image in a cell and makes it translucent.
|
void |
showChanges()
Shows all the changes made to the screen.
|
void clear()
void place(int x, int y, int type)
x
- The horizontal position of the cell, starting at 0.y
- The vertical position of the cell, starting at 0.type
- The image to be placed in the cell, for example:
OthelloReplayUserInterface.WHITE
and OthelloReplayUserInterface.EMPTY
.void placeTranslucent(int x, int y, int type)
showChanges()
has been
called.void showChanges()