public class CS15TicTacToeSquare
extends java.lang.Object
Constructor and Description |
---|
CS15TicTacToeSquare() |
Modifier and Type | Method and Description |
---|---|
void |
flashColor(javafx.scene.paint.Color color)
Briefly flashes a color as the background of the square to indicate that
the square has already been taken.
|
void |
markSquare(java.lang.String letter)
Marks the square as taken.
|
public void flashColor(javafx.scene.paint.Color color)
color
- Color to flashpublic void markSquare(java.lang.String letter)
letter
- the player's letter to mark the square