/traderous

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

« back to all changes in this revision

Viewing changes to trade_view.lua

  • Committer: Josh C
  • Date: 2013-06-15 23:20:49 UTC
  • Revision ID: josh@9ix.org-20130615232049-foxrdwozglvama5w
close button

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
 
92
92
              self:add(b)
93
93
 
94
 
              self.playerMoney = Text:new{
95
 
                 text = 'Your money: ',
96
 
                 width = 200,
97
 
                 x = boxL + 10,
98
 
                 y = boxT + 400 - th - 10
99
 
              }
100
 
              self:add(self.playerMoney)
101
 
 
102
94
              -- give the buttons a cycle to get out of the T/L corner
103
95
              self:update(0)
104
96
           end,
120
112
                 if the.keys:justPressed('escape') then
121
113
                    self:close()
122
114
                 end
123
 
 
124
 
                 self.playerMoney.text = 'Your money: ' .. the.player.money
125
115
              end
126
116
}
 
 
b'\\ No newline at end of file'