| Copyright | (c) Henry J. Wylde, 2016 |
|---|---|
| License | BSD3 |
| Maintainer | public@hjwylde.com |
| Safe Haskell | None |
| Language | Haskell2010 |
Game.Werewolf.Command.Werewolf
Contents
Description
Werewolf commands.
- voteCommand :: Text -> Text -> Command
- validatePlayer :: (MonadError [Message] m, MonadState Game m) => Text -> Text -> m ()
Commands
voteCommand :: Text -> Text -> Command Source
Validation
validatePlayer :: (MonadError [Message] m, MonadState Game m) => Text -> Text -> m () Source