/spacey

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

« back to all changes in this revision

Viewing changes to group.lua

  • Committer: Josh C
  • Date: 2013-05-13 20:41:14 UTC
  • Revision ID: josh@9ix.org-20130513204114-wtg735gs4b38wad4
extract wrapping behavior, wrap bullets

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
local origRemove = Group.remove
3
 
 
4
 
function Group:remove(sprite)
5
 
   if sprite.onRemove then
6
 
      sprite:onRemove()
7
 
   end
8
 
 
9
 
   origRemove(self, sprite)
10
 
end
 
 
b'\\ No newline at end of file'