| Copyright | (c) Henry J. Wylde, 2015 |
|---|---|
| License | BSD3 |
| Maintainer | public@hjwylde.com |
| Safe Haskell | None |
| Language | Haskell2010 |
Game.Werewolf.Command
Description
Command data structures.
- data Command = Command {
- apply :: forall m. (MonadError [Message] m, MonadState Game m, MonadWriter [Message] m) => m ()
- seeCommand :: Text -> Text -> Command
- killVoteCommand :: Text -> Text -> Command
- lynchVoteCommand :: Text -> Text -> Command
- noopCommand :: Command
Command
Constructors
| Command | |
Fields
| |
Instances
seeCommand :: Text -> Text -> Command Source
killVoteCommand :: Text -> Text -> Command Source
lynchVoteCommand :: Text -> Text -> Command Source