Add different weapon positions based on handedness

This commit is contained in:
2021-06-07 20:28:54 +02:00
parent c9ca94e82e
commit fb7a90df71
7 changed files with 90 additions and 34 deletions
+2 -2
View File
@@ -14,9 +14,9 @@ updateWalkCycle cr = case cr ^? crStance . carriage of
maxStride = _strideLength $ _crStance cr
normalGait :: FootForward -> FootForward
normalGait LeftForward = WasLeftForward
normalGait LeftForward = RightForward
normalGait WasLeftForward = RightForward
normalGait RightForward = WasRightForward
normalGait RightForward = LeftForward
normalGait WasRightForward = LeftForward
footstepSideEffect :: Creature -> World -> World