PKHeX/PKHeX.Core/Legality/Structures/IGeneration.cs
Kurt 314a92b67b Extend core api
add copy/fetch new
2018-03-28 20:34:58 -07:00

15 lines
372 B
C#

namespace PKHeX.Core
{
/// <summary>
/// Interface that exposes a Generation value for the object.
/// </summary>
internal interface IGeneration
{
int Generation { get; set; }
}
public static partial class Extensions
{
internal static PKM GetBlank(this IGeneration gen) => PKMConverter.GetBlank(gen.Generation);
}
}