(x, y, radius, color, velocity)
| 27 | |
| 28 | class Projectile { |
| 29 | constructor(x, y, radius, color, velocity) { |
| 30 | this.x = x |
| 31 | this.y = y |
| 32 | this.radius = radius |
| 33 | this.color = color |
| 34 | this.velocity = velocity |
| 35 | } |
| 36 | draw() { |
| 37 | c.beginPath() |
| 38 | c.arc(this.x, this.y, this.radius, 0, Math.PI * 2, false) |
nothing calls this directly
no outgoing calls
no test coverage detected