To get this branch, use:
bzr branch
http://9ix.org/bzr/ld28
« back to all changes in this revision
Viewing changes to main.lua
-
Committer:
Josh C
-
Date:
2013-12-15 19:59:03 UTC
-
Revision ID:
josh@9ix.org-20131215195903-3pb7rnz9xow0wkc9
move quit keybindings to app
Show diffs side-by-side
added
removed
46
if self.level == 3 then
48
text = "R = Restart level",
54
46
if self.level ~= 1 then
55
47
self:flash({0,0,0})
88
80
the.player.moved = false
91
if the.keys:justPressed('r') then
92
the.app.view = GameView:new{level = self.level}