ArkaliaCore.Game.Game.Engines.PathEngine.GetCellXCoord C# (CSharp) 메소드

GetCellXCoord() 공개 메소드

Get X location for cell
public GetCellXCoord ( int cellid ) : int
cellid int
리턴 int
        public int GetCellXCoord(int cellid)
        {
            int w = this._map.Width;
            return ((cellid - (w - 1) * GetCellYCoord(cellid)) / w);
        }