LambdaHack-0.9.5.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.AI.PickActorM

Description

Picking the AI actor to move and refreshing leader and non-leader targets.

Synopsis

Documentation

pickActorToMove :: MonadClient m => Maybe ActorId -> m ActorId Source #

Pick a new leader from among the actors on the current level. Refresh the target of the new leader, even if unchanged.

setTargetFromTactics :: MonadClient m => ActorId -> m () Source #

Inspect the tactics of the actor and set his target according to it.