Remove _crTwist
This commit is contained in:
@@ -54,7 +54,9 @@ crCanSeeCr tcr (w, cr) = hasLOS (_crPos cr) (_crPos tcr) w
|
||||
-- return $ hasLOS (_crPos cr) (_crPos tcr) w
|
||||
|
||||
crIsAiming :: Creature -> Bool
|
||||
crIsAiming cr = _posture (_crStance cr) == Aiming
|
||||
crIsAiming cr = case _posture (_crStance cr) of
|
||||
Aiming {} -> True
|
||||
_ -> False
|
||||
|
||||
crHasTarget :: Creature -> Bool
|
||||
crHasTarget cr = isJust $ cr ^? crIntention . targetCr . _Just
|
||||
|
||||
Reference in New Issue
Block a user