Mercurial > touhou
comparison pytouhou/opengl/gamerunner.py @ 158:7769ce7be03c
Minor cleanup
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 10 Oct 2011 18:56:13 +0200 |
parents | 5cf927cbd9c5 |
children | 46793ccfedca |
comparison
equal
deleted
inserted
replaced
157:ca6f8b3f739d | 158:7769ce7be03c |
---|---|
15 import pyglet | 15 import pyglet |
16 import traceback | 16 import traceback |
17 | 17 |
18 from pyglet.gl import * | 18 from pyglet.gl import * |
19 | 19 |
20 from pytouhou.opengl.texture import TextureManager | |
21 from pytouhou.opengl.sprite import get_sprite_rendering_data #TODO: cimport? | |
22 from pytouhou.opengl.background import get_background_rendering_data | |
23 from pytouhou.opengl.gamerenderer import GameRenderer | 20 from pytouhou.opengl.gamerenderer import GameRenderer |
24 | 21 |
25 | 22 |
26 class GameRunner(pyglet.window.Window, GameRenderer): | 23 class GameRunner(pyglet.window.Window, GameRenderer): |
27 def __init__(self, resource_loader, game=None, background=None): | 24 def __init__(self, resource_loader, game=None, background=None): |