namespace PKHeX.Core;
///
/// Exposes conversion methods to create a from the object's data.
///
public interface IEncounterConvertible
{
///
/// Creates a from the template, using the input as the trainer data.
///
/// This method calls with a fixed criteria containing no restrictions on the generated data.
PKM ConvertToPKM(ITrainerInfo tr);
///
/// Creates a from the template, using the input as the trainer data.
///
The generation routine will try to yield a result that matches the specifications in the .
///
PKM ConvertToPKM(ITrainerInfo tr, EncounterCriteria criteria);
}