MCPcopy Create free account
hub / github.com/codecombat/codecombat /

Class

app/lib/level-generation.js:1124–1124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1122}
1123
1124class Action {
1125 constructor ({ type, direction, distance, loopVariable, loopCount }) {
1126 this.type = type // 'move', 'hit', 'zap', 'spin', 'look', 'for'
1127 this.direction = direction // A Direction like 'up', 'down', 'left', 'right', or undefined for spin/for

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected