MCPcopy Index your code
hub / github.com/codecombat/codecombat / getRelationship

Method getRelationship

app/lib/level-generation.js:1116–1121  ·  view source on GitHub ↗
(direction)

Source from the content-addressed store, hash-verified

1114 }
1115
1116 getRelationship (direction) {
1117 if (!direction) return undefined
1118 if (this.is(direction)) return 'forward'
1119 if (this.isOpposite(direction)) return 'backward'
1120 if (this.isOrthogonal(direction)) return 'turn'
1121 }
1122}
1123
1124class Action {

Callers 2

permuteActionsFunction · 0.80
processExplosiveChainFunction · 0.80

Calls 3

isMethod · 0.95
isOppositeMethod · 0.95
isOrthogonalMethod · 0.95

Tested by

no test coverage detected