summaryrefslogtreecommitdiff
path: root/pyglet_snake.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyglet_snake.py')
-rwxr-xr-xpyglet_snake.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyglet_snake.py b/pyglet_snake.py
index 4ad174e..10e4a3d 100755
--- a/pyglet_snake.py
+++ b/pyglet_snake.py
@@ -30,8 +30,8 @@ class PygletSnakeEngine(SnakeEngine, pyglet.window.Window):
EDGE_COLOR = (255, 255, 255, 255)
EDGE_WIDTH = 2
- def __init__(self, rows, columns, n_apples):
- super(PygletSnakeEngine, self).__init__(rows, columns, n_apples)
+ def __init__(self, rows, columns, n_apples, *args, **kwargs):
+ super(PygletSnakeEngine, self).__init__(rows, columns, n_apples, *args, **kwargs)
glEnable(GL_BLEND)
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)