/traderous

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-06-16 04:27:01 UTC
  • Revision ID: josh@9ix.org-20130616042701-andlbpq3uuf679fy
enemy thrust

Show diffs side-by-side

added added

removed removed

100
100
              self:add(the.player)
101
101
              self:add(the.player.thrust)
102
102
 
103
 
              self:add(Enemy:new{x=400, y=300})
 
103
              local e = Enemy:new{x=400, y=300}
 
104
              self:add(e)
 
105
              self:add(e.thrust) -- why doesn't this work in Enemy.new?
104
106
 
105
107
              self:add(the.bullets)
106
108
              self:add(the.indicators)