From 87a82ccb10b6f7b07c48f8e9993243b9592e00b4 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Fri, 16 May 2014 22:41:04 +0200 Subject: [PATCH] Cheat to gain health --- naja/scenes/game.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/naja/scenes/game.py b/naja/scenes/game.py index dda5e1e..0e76f5f 100644 --- 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() -- 2.34.1