controller.base.command

Members list

Type members

Classlikes

class AttackCommand(controller: BaseController, card: Card) extends MementoCommand

Attributes

Supertypes
trait Command
class Object
trait Matchable
class Any
class DefendCommand(controller: BaseController, used: Card, undefended: Card) extends MementoCommand

Attributes

Supertypes
trait Command
class Object
trait Matchable
class Any
class DenyCommand(controller: BaseController) extends MementoCommand

Attributes

Supertypes
trait Command
class Object
trait Matchable
class Any
class InitializeCommand(controller: BaseController, amount: Int, names: List[String], attacking: String) extends MementoCommand

Attributes

Supertypes
trait Command
class Object
trait Matchable
class Any
class LoadCommand(controller: BaseController, fileIo: FileIo) extends MementoCommand

Attributes

Supertypes
trait Command
class Object
trait Matchable
class Any
trait MementoCommand(val controller: BaseController) extends Command

Implements a util.Command that uses the memento pattern by getting and setting the status using controller.Controller.status.

Implements a util.Command that uses the memento pattern by getting and setting the status using controller.Controller.status.

Attributes

Supertypes
trait Command
class Object
trait Matchable
class Any
Known subtypes
class PickUpCommand(controller: BaseController) extends MementoCommand

Attributes

Supertypes
trait Command
class Object
trait Matchable
class Any
class SaveCommand(controller: BaseController, fileIo: FileIo) extends MementoCommand

Attributes

Supertypes
trait Command
class Object
trait Matchable
class Any