PKHeX/PKHeX.Core/Legality/Encounters/EncounterInvalid.cs
Kurt 1e13220e6e Add IEncounterable -> pkm interface method
egg,slot,static,link,trade need to be implemented later

remove IEncounterable from PL6
2018-03-28 20:38:07 -07:00

25 lines
666 B
C#

namespace PKHeX.Core
{
/// <summary>
/// Invalid Encounter Data
/// </summary>
public class EncounterInvalid : IEncounterable
{
public int Species { get; }
public int LevelMin { get; }
public int LevelMax { get; }
public bool EggEncounter { get; }
public string Name => "Invalid";
public EncounterInvalid(PKM pkm)
{
Species = pkm.Species;
LevelMin = pkm.Met_Level;
LevelMax = pkm.CurrentLevel;
EggEncounter = pkm.WasEgg;
}
public PKM ConvertToPKM(ITrainerInfo SAV) => throw new System.NotImplementedException();
}
}