()
| 60 | |
| 61 | |
| 62 | updateView() { |
| 63 | let pos = places[this.worldState.place] |
| 64 | this.robotElt.style.top = (pos.y - 38) + "px" |
| 65 | this.robotElt.style.left = (pos.x - 16) + "px" |
| 66 | |
| 67 | this.text.textContent = ` Turn ${this.turn} ` |
| 68 | } |
| 69 | |
| 70 | updateParcels() { |
| 71 | while (this.parcels.length) this.parcels.pop().remove() |
no outgoing calls
no test coverage detected