projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3db9f34
)
Cheat to gain health
author
Stefano Rivera
<stefano@rivera.za.net>
Fri, 16 May 2014 20:41:04 +0000
(22:41 +0200)
committer
Stefano Rivera
<stefano@rivera.za.net>
Fri, 16 May 2014 20:41:04 +0000
(22:41 +0200)
naja/scenes/game.py
patch
|
blob
|
history
diff --git
a/naja/scenes/game.py
b/naja/scenes/game.py
index dda5e1eb53f5832bce5eabe4738eb186d321dc95..0e76f5f8c85a909908e3ab255c705254e6508c8c 100644
(file)
--- a/
naja/scenes/game.py
+++ b/
naja/scenes/game.py
@@
-54,4
+54,6
@@
class GameScene(Scene):
self.state.player.bits.toggle_bit(6)
elif ev.key == pgl.K_7:
self.state.player.bits.toggle_bit(7)
+ elif ev.key == pgl.K_EQUALS:
+ self.state.gameboard.gain_health()
return finish_event()