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

Safe HaskellNone

Game.LambdaHack.StrategyAction

Description

AI strategy operations implemented with the Action monad.

Synopsis

Documentation

targetStrategy :: COps -> ActorId -> State -> Perception -> [Ability] -> Strategy TargetSource

AI proposes possible targets for the actor. Never empty.

strategy :: COps -> ActorId -> State -> [Ability] -> Strategy (Action ())Source

AI strategy based on actor's sight, smell, intelligence, etc. Never empty.