PKHeX/PKHeX.Core/Legality/Evolutions/EvoCriteria.cs
Kurt 75202c7a89 Misc updates
reducing allocations, increasing clarity by removing some magic numbers
probably can rewrite some of the evo loading/checking for even less, but
good for now.
2019-01-06 16:22:45 -08:00

12 lines
343 B
C#

namespace PKHeX.Core
{
public sealed class EvoCriteria : DexLevel
{
public int MinLevel { get; set; }
public bool RequiresLvlUp { get; set; }
public int Form { get; set; } = -1;
public int Method { get; set; } = -1;
public bool IsTradeRequired => ((EvolutionType) Method).IsTrade();
}
}