namespace Konis.Testbed
{
///
/// A sprite def a tuning panel offers, with the name it is listed under.
///
public class SpriteChoice
{
public SpriteChoice(SpriteDef def, string label, string source)
{
Def = def;
Label = label;
Source = source;
}
///
/// Gets the sprite def.
///
public SpriteDef Def { get; }
///
/// Gets the short name the sprite is listed under, which is its def's name.
///
public string Label { get; }
///
/// Gets the C# expression that names the sprite, such as TestbedSprites.Star, or null when no static
/// field holds it.
///
public string Source { get; }
}
}