LambdaHack- A roguelike game engine in early and active development

Safe HaskellNone



Semantics of human player commands.



cmdHumanSem :: (MonadClientAbort m, MonadClientUI m) => HumanCmd -> WriterT Slideshow m (Maybe CmdSer)Source

The semantics of human player commands in terms of the Action monad. Decides if the action takes time and what action to perform. Time cosuming commands are marked as such in help and cannot be invoked in targeting mode on a remote level (level different than the level of the selected hero).