controller.base.command
package controller.base.command
Members list
Type members
Classlikes
class AttackCommand(controller: BaseController, card: Card) extends MementoCommand
Attributes
- Supertypes
class DefendCommand(controller: BaseController, used: Card, undefended: Card) extends MementoCommand
Attributes
- Supertypes
class DenyCommand(controller: BaseController) extends MementoCommand
Attributes
- Supertypes
class InitializeCommand(controller: BaseController, amount: Int, names: List[String], attacking: String) extends MementoCommand
Attributes
- Supertypes
class LoadCommand(controller: BaseController, fileIo: FileIo) extends MementoCommand
Attributes
- Supertypes
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
- Known subtypes
-
class AttackCommandclass DefendCommandclass DenyCommandclass InitializeCommandclass LoadCommandclass PickUpCommandclass SaveCommandShow all
class PickUpCommand(controller: BaseController) extends MementoCommand
Attributes
- Supertypes
class SaveCommand(controller: BaseController, fileIo: FileIo) extends MementoCommand
Attributes
- Supertypes
In this article