瀏覽代碼

setPos -> setPosition

ncannasse 7 年之前
父節點
當前提交
98797dd148
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h2d/Tile.hx

+ 1 - 1
h2d/Tile.hx

@@ -73,7 +73,7 @@ class Tile {
 		dy = -dy - height;
 	}
 
-	public function setPos(x : Int, y : Int) : Void {
+	public function setPosition(x : Int, y : Int) : Void {
 		this.x = x;
 		this.y = y;
 		var tex = innerTex;