/traderous

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

« back to all changes in this revision

Viewing changes to planet.lua

  • Committer: Josh C
  • Date: 2013-06-16 03:53:05 UTC
  • Revision ID: josh@9ix.org-20130616035305-33ca39wd4q3q4v13
bullets don't go through planets

Show diffs side-by-side

added added

removed removed

74
74
                   end
75
75
 
76
76
                end,
 
77
   onCollide = function (self, other)
 
78
                  if other:instanceOf(Bullet) then
 
79
                     the.bullets:remove(other)
 
80
                     other:die()
 
81
                  end
 
82
               end
77
83
}
 
 
'\\ No newline at end of file'