PKHeX/PKHeX.Core/Legality/Evolutions/DexLevel.cs

21 lines
524 B
C#
Raw Normal View History

namespace PKHeX.Core
{
2017-11-07 06:44:51 +00:00
/// <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}]";
}
}