TMXGlueLib.TilesetExtensionMethods.IndexToLocalId C# (CSharp) Method

IndexToLocalId() public static method

public static IndexToLocalId ( this tileset, int xIndex, int yIndex ) : int
tileset this
xIndex int
yIndex int
return int
        public static int IndexToLocalId(this Tileset tileset, int xIndex, int yIndex)
        {
            return xIndex + yIndex * tileset.GetNumberOfTilesWide();

        }