/ld27

To get this branch, use:
bzr branch http://9ix.org/bzr/ld27

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-08-25 15:24:12 UTC
  • Revision ID: josh@9ix.org-20130825152412-t0uzxw6fd92i81rj
pause/quit screen

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
require 'zoetrope'
5
5
--require 'pepperprof'
6
6
 
 
7
--require 'group'
 
8
 
7
9
require 'version'
 
10
--require 'wrap_tile'
8
11
require 'player'
9
12
require 'goal'
10
13
require 'pause_view'
11
 
require 'win_view'
12
14
 
13
15
GameView = View:extend {
14
16
   gameStart = 0,
63
65
 
64
66
                 if the.keys:justPressed('escape', 'q') then
65
67
                    PauseView:new():activate()
66
 
                 --elseif the.keys:justPressed('w') then
67
 
                 --   WinView:new():activate()
68
68
                 end
69
69
              end,
70
70
   switchMaze = function(self)