/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:
8
8
require 'player'
9
9
require 'goal'
10
10
require 'pause_view'
 
11
require 'win_view'
11
12
 
12
13
GameView = View:extend {
13
14
   gameStart = 0,
62
63
 
63
64
                 if the.keys:justPressed('escape', 'q') then
64
65
                    PauseView:new():activate()
 
66
                 --elseif the.keys:justPressed('w') then
 
67
                 --   WinView:new():activate()
65
68
                 end
66
69
              end,
67
70
   switchMaze = function(self)