Delete cruft, add Reader monad to some internal ai
This commit is contained in:
@@ -72,4 +72,4 @@ chooseMovement cr w
|
||||
tcr = _creatures w IM.! 0
|
||||
p = _crPos tcr
|
||||
v = vNormal $ p -.- cpos
|
||||
p' = p +.+ 0.5 *.* (v -.- 20 *.* (normalizeV v))
|
||||
p' = p +.+ 0.5 *.* (v -.- 20 *.* normalizeV v)
|
||||
|
||||
Reference in New Issue
Block a user