Refactor Maps (#2)
This commit is contained in:
@@ -3,7 +3,7 @@ export default class DrawCircle {
|
||||
constructor(settings) {
|
||||
}
|
||||
|
||||
filled(context, scale, x, y, cell) {
|
||||
fill(context, scale, x, y, cell) {
|
||||
context.beginPath();
|
||||
context.arc(x, y, scale * cell.scale, 0, 2*Math.PI, false);
|
||||
context.fillStyle = cell.getColor();
|
||||
|
||||
Reference in New Issue
Block a user