/ld28

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

« back to all changes in this revision

Viewing changes to clone.lua

  • Committer: Josh C
  • Date: 2013-12-14 17:35:23 UTC
  • Revision ID: josh@9ix.org-20131214173523-8g4gd5hlk4fix1r6
collision

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
               elseif self.direction == 'down' then
22
22
                  self.y = self.y + self.height
23
23
               end
24
 
            end
 
24
            end,
 
25
   onCollide = function(self, other)
 
26
                  other:displace(self)
 
27
               end
25
28
}
 
 
b'\\ No newline at end of file'