/// Interface for UI <--> game communication. /// Informs the UI about changes on the state. abstract class IGameConsumer { /// Called when the score changes. void updatePoints(); /// Called when the time changes. void updateTime(); /// Called when there is a change on the board that should be shown to the user. void updateStones(); /// Game stop signal. Called when the timer has run out. void gameStopped(); }