projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a4cb145
)
PEP8.
author
Simon Cross
<hodgestar@gmail.com>
Sat, 17 May 2014 23:18:36 +0000
(
01:18
+0200)
committer
Simon Cross
<hodgestar@gmail.com>
Sat, 17 May 2014 23:18:36 +0000
(
01:18
+0200)
naja/scenes/dummygame.py
patch
|
blob
|
history
diff --git
a/naja/scenes/dummygame.py
b/naja/scenes/dummygame.py
index 077c07bfa478f65d6e608875b7cf241b41721146..f77fff96e1a38dd469b5d68d74bdac6591b16984 100644
(file)
--- a/
naja/scenes/dummygame.py
+++ b/
naja/scenes/dummygame.py
@@
-5,14
+5,12
@@
Dummy scene that overlays a static rendering of a a game scene
import pygame.locals as pgl
import pygame
import pygame.locals as pgl
import pygame
-from naja.constants import
KEYS, PALETTE, SCREEN
+from naja.constants import
SCREEN, KEYS
from naja.events import SceneChangeEvent, LoadGameEvent
from naja.events import SceneChangeEvent, LoadGameEvent
-from naja.sound import sound
from naja.scenes.scene import Scene
from naja.scenes.game import GameScene
from naja.gamestate import GameState
from naja.widgets.image_box import PreRenderedImageBox
from naja.scenes.scene import Scene
from naja.scenes.game import GameScene
from naja.gamestate import GameState
from naja.widgets.image_box import PreRenderedImageBox
-from naja.widgets.text import TextWidget, TextBoxWidget
class DummyGameScene(Scene):
class DummyGameScene(Scene):
@@
-38,4
+36,3
@@
class DummyGameScene(Scene):
LoadGameEvent.post(None)
SceneChangeEvent.post(MenuScene)
return
LoadGameEvent.post(None)
SceneChangeEvent.post(MenuScene)
return
-