(mode)
| 237 | } |
| 238 | |
| 239 | setMode(mode) { |
| 240 | this.currentMethod = this.allMethod[0]; |
| 241 | for (let method of this.allMethod) { |
| 242 | if (method.name == mode) { |
| 243 | this.currentMethod = method; |
| 244 | break; |
| 245 | } |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | addRot(dx, dy) { |
| 250 | this.currentMethod.addRot(dx, dy); |
no outgoing calls
no test coverage detected