Safe Haskell | None |
---|---|
Language | Haskell2010 |
Let AI pick the best target for an actor.
- refreshTarget :: MonadClient m => (ActorId, Actor) -> m (Maybe TgtAndPath)
- targetStrategy :: forall m. MonadClient m => ActorId -> m (Strategy TgtAndPath)
Documentation
refreshTarget :: MonadClient m => (ActorId, Actor) -> m (Maybe TgtAndPath) Source #
Verify and possibly change the target of an actor. This function both updates the target in the client state and returns the new target explicitly.
Internal operations
targetStrategy :: forall m. MonadClient m => ActorId -> m (Strategy TgtAndPath) Source #
AI proposes possible targets for the actor. Never empty.