/traderous

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

« back to all changes in this revision

Viewing changes to pause_view.lua

  • Committer: Josh C
  • Date: 2013-06-25 16:59:14 UTC
  • Revision ID: josh@9ix.org-20130625165914-egx7p44y1v0ulwyj
pause screen

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
                    height = buttonHeight,
55
55
                 },
56
56
                 onMouseUp = function()
57
 
                                self:close()
 
57
                                  self:close()
58
58
                               end
59
59
              }
60
60
 
75
75
                    width = buttonWidth,
76
76
                    height = buttonHeight,
77
77
                 },
78
 
                 onMouseUp = function()
79
 
                                self:close()
80
 
                                the.app.view = GameView:new{newWorld = true}
81
 
                             end
 
78
                 onMouseDown = function()
 
79
                                  self:close()
 
80
                                  print('hi')
 
81
                                  the.app.view = GameView:new()
 
82
                               end
82
83
              }
83
84
 
84
85
              self:add(b)
98
99
                    width = buttonWidth,
99
100
                    height = buttonHeight,
100
101
                 },
101
 
                 onMouseUp = function()
102
 
                                the.app:quit()
103
 
                             end
 
102
                 onMouseDown = function()
 
103
                                  the.app:quit()
 
104
                               end
104
105
              }
105
106
 
106
107
              self:add(b)