1
1
Transition = Group:extend {
5
5
-- NOTE: X/Y will fail if you init Transition before Player!
6
6
box = Fill:new{x = self.x, y = self.y,
10
10
onCollide = function(self, other, xOl, yOl)
12
12
if other == the.player then
15
19
print("Colliding with: "..other)