예제 #1
0
def redrawAll(canvas, data):
    (rows, cols) = (data.rows, data.cols)
    util.drawBackground(canvas, data)
    canvas.create_text(140, 380, text = "Clear All The Jelly", 
        font = "Helvetica 18")
    for row in range(rows):
        for col in range(cols):
            data.jellies[row][col].draw(canvas)
            data.jelly2[row][col].draw(canvas)
            data.candies[row][col].draw(canvas)
예제 #2
0
def demoLevelRedrawAll(canvas, data):
    (rows, cols) = (data.rows, data.cols)
    util.drawBackground(canvas, data)
    for row in range(rows):
        for col in range(cols):
            data.candies[row][col].draw(canvas)
예제 #3
0
def demoLevelRedrawAll(canvas, data):
    (rows, cols) = (data.rows, data.cols)
    util.drawBackground(canvas, data)
    for row in range(rows):
        for col in range(cols):
            data.candies[row][col].draw(canvas)