Skip to content
  • This project
    • Loading...
  • Sign in

金学艇 / xhx

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • xhx
  • ..
  • geom
  • PathPoint.lua
  • jinwawa's avatar
    0509 · 7b96a3da
    7b96a3da
    jinwawa authored 2019-05-09 20:22:06 +0800
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