ControllerMediatorImpl

blockudoku.controllers.mediatorImpl.ControllerMediatorImpl
class ControllerMediatorImpl(gridController: GridController, elementController: ElementController, focusManager: FocusManager, scoreController: ScoreController) extends ControllerMediator, Snapshotable[_]

Attributes

Graph
Supertypes
trait Snapshotable[_]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def createSnapshot(): Unit

Creates a snapshot of the current state.

Creates a snapshot of the current state.

Attributes

def revertSnapshot(): Unit

Reverts the state to the most recent snapshot.

Reverts the state to the most recent snapshot.

Attributes

override def selectElement(element: Element): Unit

Selects the given element.

Selects the given element.

Value parameters

element

Element to select.

Attributes

Definition Classes
override def setElement(element: Element, pos: Int): Unit

Attempts to place the given element at the given position.

Attempts to place the given element at the given position.

Value parameters

element

Element to place.

pos

Index of the tile to place the element at.

Attributes

Definition Classes

Inherited fields

val snapshots: Stack[TSnapshot]

Recorded snapshots with the most recent snapshot at the top.

Recorded snapshots with the most recent snapshot at the top.

Attributes

Inherited from:
Snapshotable