mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 00:58:01 +00:00
3f38b123a3
mostly renaming things, includes a little bit of added sugar and splitting methods to simplify the codebase. all methods are now PascalCase
20 lines
500 B
C#
20 lines
500 B
C#
namespace PKHeX.Core
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|