LambdaHack-0.2.10: A roguelike game engine in early and active development

Safe HaskellNone

Game.LambdaHack.Client.HumanGlobal

Description

Semantics of Cmd client commands that return server commands. A couple of them do not take time, the rest does. TODO: document

Synopsis

Documentation

moveRunAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> Vector -> m CmdSerTakeTime

Actor moves or searches or alters. No visible actor at the position.

displaceAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> ActorId -> m CmdSerTakeTime

Actor swaps position with another.

meleeAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> ActorId -> m CmdSerTakeTime

Actor atttacks an enemy actor or his own projectile.

waitHuman :: MonadClientUI m => m CmdSerTakeTime

Leader waits a turn (and blocks, etc.).

dropHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSerTakeTime

Drop a single item.

alterDirHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerTakeTime

Ask for a direction and alter a tile, if possible.

triggerTileHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerTakeTime

Leader tries to trigger the tile he's standing on.