ScoreControllerImpl
blockudoku.controllers.mediatorImpl.ScoreControllerImpl
class ScoreControllerImpl(gridCollector: GridCollector) extends ScoreController
Attributes
- Graph
-
- Supertypes
-
trait ScoreControllertrait ScoreCollectortrait Observableclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- ScoreController
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Attributes
- Definition Classes
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.
- Definition Classes
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
Creates a snapshot of the current state.
Creates a snapshot of the current state.
Attributes
- Definition Classes
- Inherited from:
- ScoreController
Attributes
- Inherited from:
- ScoreController
Invokes the update method of all observers.
Reverts the state to the most recent snapshot.
Reverts the state to the most recent snapshot.
Attributes
- Definition Classes
- Inherited from:
- ScoreController
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