Compare commits
2 Commits
ef137dc998
...
4f64f045d3
Author | SHA1 | Date | |
---|---|---|---|
4f64f045d3 | |||
e1ca99ba51 |
|
@ -517,6 +517,8 @@ function moveAsLowLevelMoves({ move, nextMove, startingPos, numProgessions }: {
|
||||||
kind: PositionKind.Circle,
|
kind: PositionKind.Circle,
|
||||||
which: startPos.which,
|
which: startPos.which,
|
||||||
facing: startPos.which.facingAcross(),
|
facing: startPos.which.facingAcross(),
|
||||||
|
setOffset: startPos.setOffset,
|
||||||
|
lineOffset: startPos.lineOffset,
|
||||||
}
|
}
|
||||||
|
|
||||||
return combine([{
|
return combine([{
|
||||||
|
@ -1860,6 +1862,24 @@ function moveAsLowLevelMoves({ move, nextMove, startingPos, numProgessions }: {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "pass by":
|
||||||
|
const passByShoulder = move.parameters.shoulder ? Hand.Left : Hand.Right;
|
||||||
|
return handlePairedMove(move.parameters.who, ({startPos, around, withPos}) => {
|
||||||
|
return combine([{
|
||||||
|
beats: move.beats,
|
||||||
|
// TODO Is pass by always a swap?
|
||||||
|
endPosition: withPos,
|
||||||
|
movementPattern: {
|
||||||
|
kind: SemanticAnimationKind.PassBy,
|
||||||
|
around,
|
||||||
|
facing: "Forward",
|
||||||
|
otherPath: "Swap",
|
||||||
|
side: passByShoulder,
|
||||||
|
withHands: false,
|
||||||
|
}
|
||||||
|
}], startPos);
|
||||||
|
});
|
||||||
|
|
||||||
case "pass through":
|
case "pass through":
|
||||||
if (move.parameters.dir === "left diagonal" || move.parameters.dir === "right diagonal") {
|
if (move.parameters.dir === "left diagonal" || move.parameters.dir === "right diagonal") {
|
||||||
// TODO There's logic for this below, but unsure it's right.
|
// TODO There's logic for this below, but unsure it's right.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user