/ld27

To get this branch, use:
bzr branch /bzr/ld27

« back to all changes in this revision

Viewing changes to pause_view.lua

  • Committer: Josh C
  • Date: 2014-07-05 00:05:23 UTC
  • Revision ID: josh@9ix.org-20140705000523-qxhxpi5ixst875zb
control by touch ("mouse")

Show diffs side-by-side

added added

removed removed

51
51
           end,
52
52
   onUpdate = function (self)
53
53
                 if the.keys:justPressed('escape', 'n') then
 
54
                   if love.system.getOS() == 'Android' then
 
55
                     the.app:quit()
 
56
                   else
54
57
                    self:deactivate()
 
58
                   end
55
59
                 elseif the.keys:justPressed('q', 'y') then
56
60
                    if the.profiler then
57
61
                       the.profiler:stop()