mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +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);
|
|
}
|
|
}
|