/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-10-21 18:31:36 UTC
  • Revision ID: josh@9ix.org-20131021183136-l3vwmptork5es02v
factor out doHit so I can try to reproduce double ships

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
}
172
172
 
173
173
the.app = App:new {
 
174
   name = 'Traderous',
174
175
   onRun = function (self)
175
176
              print('Version: ' .. VERSION)
176
177
 
190
191
                 self.console:watch('num planets', '#the.planets.sprites')
191
192
                 self.console:watch('num enemies', 'the.enemies:count()')
192
193
                 self.console:watch('onPlanet', 'the.player.onPlanet')
 
194
                 self.console:watch('kills', 'the.player.kills')
193
195
                 --self.console:watch('drawTook', 'the.drawTook')
194
196
 
195
197
                 -- back off that dark overlay a bit