()
| 369 | this.pickNewTarget(); |
| 370 | } |
| 371 | pickNewTarget() { |
| 372 | const r = Math.random; |
| 373 | this.target.set( |
| 374 | (r() * 2 - 1) * (1 - this.margin), |
| 375 | (r() * 2 - 1) * (1 - this.margin) |
| 376 | ); |
| 377 | } |
| 378 | forceStop() { |
| 379 | this.active = false; |
| 380 | this.mouse.isAutoActive = false; |
no outgoing calls
no test coverage detected