/traderous

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-05-20 17:54:50 UTC
  • Revision ID: josh@9ix.org-20130520175450-1p2jpuadg24xutlk
some instructions at game over

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
              end
275
275
           end,
276
276
   onUpdate = function (self, dt)
277
 
                 if the.keys:justPressed('q') then
 
277
                 if the.keys:justPressed('escape') then
278
278
                    self.quit()
279
 
                 elseif the.keys:justPressed('return') then
280
 
                    self.view = GameView:new()
281
279
                 end
282
280
              end,
283
281
   update = function (self, dt)