models/square_model library
Classes
- SquareModel
- representation of an square in the board has an squareName and squarePiece which can be null if there is no piece on that square.
- SquareNotifier
-
Notifier for updates on the state (
squarePiece
) of the respective square. This approach can target specific squares, and avoids rebuilding the whole board