def __init__(self, canvas, canvas_width, canvas_height, grid_space):
    self.canvas = canvas
    self.canvas_width = canvas_width
    self.canvas_height = canvas_height
    self.grid_space = grid_space
def __init__(self, canvas, canvas_width, canvas_height, grid_space):
    self.canvas = canvas
    self.canvas_width = canvas_width
    self.canvas_height = canvas_height
    self.grid_space = grid_space