+
+ -- add current position
+ self:recordPosition()
+ self:drawPath()
+ table.remove(self.path)
+ table.remove(self.path)
+end
+
+function Player:recordPosition()
+ print(self.position.x .. ', ' .. self.position.y)
+ table.insert(self.path, self.position.x + self.width/2)
+ table.insert(self.path, self.position.y + self.height/2)