ElementCollector

blockudoku.controllers.ElementCollector

Collects Element game state models.

Attributes

See also
Graph
Supertypes
trait Observable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def getElements: List[Element]

Gets all selectable Element.

Gets all selectable Element.

Attributes

Returns

a list of Elements.

Gets the currently selected Element.

Gets the currently selected Element.

Attributes

Returns

an Element if any is selected, None otherwise.

Inherited methods

def addObserver(observer: Observer): Unit

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
def notifyObservers(): Unit

Invokes the update method of all observers.

Invokes the update method of all observers.

Attributes

Inherited from:
Observable