namespace StardewModdingAPI.Framework.Content
{
/// Basic metadata about a vanilla tilesheet.
internal class TilesheetReference
{
/*********
** Accessors
*********/
/// The tilesheet's index in the list.
public readonly int Index;
/// The tilesheet's unique ID in the map.
public readonly string Id;
/// The asset path for the tilesheet texture.
public readonly string ImageSource;
/*********
** Public methods
*********/
/// Construct an instance.
/// The tilesheet's index in the list.
/// The tilesheet's unique ID in the map.
/// The asset path for the tilesheet texture.
public TilesheetReference(int index, string id, string imageSource)
{
this.Index = index;
this.Id = id;
this.ImageSource = imageSource;
}
}
}