PKHeX/PKHeX.Core/Legality/Evolutions/DexLevel.cs
Kurt eb7ed44b29 Finish splitting gen1/2 encounter types from parent class
Results in a little more code, but each path is less tangled
simplify some expressions
remove RBDragonair content in favor of a strict filter for catch rate

Move gen1 trade trainer names to stringconverter, since pk1/pk2 shouldn't refer to legality classes
2020-07-19 13:32:40 -05:00

21 lines
No EOL
524 B
C#

namespace PKHeX.Core
{
/// <summary>
/// Small general purpose value passing object with misc data pertaining to an encountered Species.
/// </summary>
public class DexLevel
{
public readonly int Species;
public readonly int Form;
public int Level { get; set; }
protected DexLevel(int species, int form)
{
Species = species;
Form = form;
}
public override string ToString() => $"{(Species) Species} [{Level}]";
}
}