Cleanup
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
module Dodge.Humanoid (chaseCritInternal) where
|
||||
|
||||
import Data.Foldable
|
||||
import Dodge.Creature
|
||||
import Dodge.Data.World
|
||||
import LensHelp
|
||||
|
||||
chaseCritInternal :: World -> Creature -> Creature
|
||||
chaseCritInternal =
|
||||
chainCreatureUpdates
|
||||
chaseCritInternal w cr =
|
||||
foldl'
|
||||
(\c f -> f w c)
|
||||
cr
|
||||
[ const doStrategyActions
|
||||
, overrideMeleeCloseTarget
|
||||
, setViewPos
|
||||
|
||||
Reference in New Issue
Block a user