ScoreController
blockudoku.controllers.mediatorImpl.ScoreController
trait ScoreController extends ScoreCollector, Snapshotable[ScoreControllerSnapshot]
Manage game state related to the Score.
Attributes
- See also
- Graph
-
- Supertypes
- Known subtypes
-
class ScoreControllerImpl
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Abstract methods
Check the current grid state for win conditions and update the score accordingly.
Check the current grid state for win conditions and update the score accordingly.
Attributes
- Returns
-
Set of Tiles that should be removed from the grid.
Concrete methods
Creates a snapshot of the current state.
Reverts the state to the most recent snapshot.
Inherited methods
Adds an observer to the list of observers.
Adds an observer to the list of observers.
Value parameters
- observer
-
The observer to add.
Attributes
- Inherited from:
- Observable
Invokes the update method of all observers.
Inherited and Abstract methods
Attributes
- Inherited from:
- ScoreCollector
Inherited fields
Recorded snapshots with the most recent snapshot at the top.
Recorded snapshots with the most recent snapshot at the top.
Attributes
- Inherited from:
- Snapshotable
In this article