Copyright | (c) Henry J. Wylde, 2016 |
---|---|
License | BSD3 |
Maintainer | public@hjwylde.com |
Safe Haskell | None |
Language | Haskell2010 |
Command data structures.
- data Command = Command {
- apply :: forall m. (MonadError [Message] m, MonadState Game m, MonadWriter [Message] m) => m ()
- bootCommand :: Text -> Text -> Command
- chooseAllegianceCommand :: Text -> Text -> Command
- choosePlayerCommand :: Text -> Text -> Command
- choosePlayersCommand :: Text -> [Text] -> Command
- circleCommand :: Text -> Bool -> Command
- healCommand :: Text -> Command
- noopCommand :: Command
- passDevotedServantsTurnCommand :: Text -> Command
- passWitchsTurnCommand :: Text -> Command
- pingCommand :: Text -> Command
- poisonCommand :: Text -> Text -> Command
- protectCommand :: Text -> Text -> Command
- quitCommand :: Text -> Command
- revealCommand :: Text -> Command
- seeCommand :: Text -> Text -> Command
- statusCommand :: Text -> Command
- voteDevourCommand :: Text -> Text -> Command
- voteLynchCommand :: Text -> Text -> Command
Command
Command | |
|
Instances
bootCommand :: Text -> Text -> Command Source
chooseAllegianceCommand :: Text -> Text -> Command Source
choosePlayerCommand :: Text -> Text -> Command Source
choosePlayersCommand :: Text -> [Text] -> Command Source
circleCommand :: Text -> Bool -> Command Source
healCommand :: Text -> Command Source
pingCommand :: Text -> Command Source
poisonCommand :: Text -> Text -> Command Source
protectCommand :: Text -> Text -> Command Source
quitCommand :: Text -> Command Source
revealCommand :: Text -> Command Source
seeCommand :: Text -> Text -> Command Source
statusCommand :: Text -> Command Source
voteDevourCommand :: Text -> Text -> Command Source
voteLynchCommand :: Text -> Text -> Command Source