mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-25 11:53:11 +00:00
15 lines
370 B
C#
15 lines
370 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Interface that exposes a Generation value for the object.
|
|
/// </summary>
|
|
public interface IGeneration
|
|
{
|
|
int Generation { get; set; }
|
|
}
|
|
|
|
public static partial class Extensions
|
|
{
|
|
internal static PKM GetBlank(this IGeneration gen) => PKMConverter.GetBlank(gen.Generation);
|
|
}
|
|
}
|