blockudoku.commands

Members list

Type members

Classlikes

trait Command(snapshotables: List[Snapshotable[_]])

A destructive (but undoable) operation to be executed by a blockudoku.commands.CommandInvoker.

A destructive (but undoable) operation to be executed by a blockudoku.commands.CommandInvoker.

Value parameters

snapshotables

A list of all the objects that need to be snapshot before the command is executed. Is generally provided by the factory.

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Factory methods for each supported Command. It is not recommended to create commands directly.

Factory methods for each supported Command. It is not recommended to create commands directly.

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Responsible for executing, undoing and redoing commands.

Responsible for executing, undoing and redoing commands.

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Snapshotable[TSnapshot]

Needs to be implemented by all classes that manage mutable state in the command framework.

Needs to be implemented by all classes that manage mutable state in the command framework.

Type parameters

TSnapshot

Type of the snapshot. Should be '?' because all snapshots are case classes without common functionality.

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Known subtypes