/ld26

To get this branch, use:
bzr branch http://9ix.org/bzr/ld26
42 by Josh C
be moved
1
RealFairy = Tile:extend{
2
   image = 'data/realfairy.png',
3
   carryingPlayer = true,
4
   onUpdate = function (self, dt)
5
                 -- TODO: move player to self
6
                 if self.carryingPlayer then
7
                    the.player.x = self.x
8
                    the.player.y = self.y
9
                 end
10
              end
11
}