/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:35:26 UTC
  • Revision ID: josh@9ix.org-20130825153526-dcl4okzlmbyhmziz
cruft

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