Assets.Map.Creator.MapSaveLoad.CreateCellXml C# (CSharp) Метод

CreateCellXml() публичный статический Метод

public static CreateCellXml ( Cell cell ) : CellXML
cell Cell
Результат CellXML
        public static CellXML CreateCellXml(Cell cell)
        {
            return new CellXML()
            {
                id = (int)cell.type,
                locX = (int)cell.gridPosition.x,
                locY = (int)cell.gridPosition.y
            };
        }