PathPoint.lua 224 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 cc.exports.PathPoint = {} function PathPoint.new(x, y,speed) x=x or 0 y=y or 0 speed=speed or 3 local this = {} this.x= x; this.y= y; this.speed= speed; return this end return PathPoint