Files
HX_MapEditor/Assets/Scripts/PathFinding/PathFindingPoint.cs

30 lines
529 B
C#
Raw Permalink Normal View History

2025-06-14 13:46:24 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HxGame.PathFinding
{
public class PathFindingPoint
{
private int _x;
private int _y;
public PathFindingPoint(int x, int y)
{
this._x = x;
this._y = y;
}
public int x { get { return this._x; } set { this._x = value; } }
public int y { get { return this._y; } set { this._y = value; } }
// For debugging
public override string ToString()
{
return string.Format("{0}, {1}", this.x, this.y);
}
}
}