Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function newSpecialObject(info)
- local self = display.newCircle(info.x, info.y, info.radius)
- function self:Push(x, y)
- self:applyLinearImpulse(x/10, y/10, self.x, self.y)
- end
- self.Property = 5
- return self
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement