(x, y, radius, color)
| 12 | |
| 13 | class Player { |
| 14 | constructor(x, y, radius, color) { |
| 15 | this.x = x |
| 16 | this.y = y |
| 17 | this.radius = radius |
| 18 | this.color = color |
| 19 | } |
| 20 | draw() { |
| 21 | c.beginPath() |
| 22 | c.arc(this.x, this.y, this.radius, 0, Math.PI * 2, false) |
nothing calls this directly
no outgoing calls
no test coverage detected