LambdaHack-0.2.10.6: 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 CmdSerTakeTimeSource

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

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

Actor swaps position with another.

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

Actor atttacks an enemy actor or his own projectile.

waitHuman :: MonadClientUI m => m CmdSerTakeTimeSource

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

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

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

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

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