/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:58:43 UTC
  • Revision ID: josh@9ix.org-20130825155843-quc2317jh92awkmx
win screen (no trigger)

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
 
 
9
7
require 'version'
10
 
--require 'wrap_tile'
11
8
require 'player'
12
9
require 'goal'
13
10
require 'pause_view'
 
11
require 'win_view'
14
12
 
15
13
GameView = View:extend {
16
14
   gameStart = 0,
65
63
 
66
64
                 if the.keys:justPressed('escape', 'q') then
67
65
                    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)