mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
ce5897ff94
Restrict some setters to protected only
17 lines
446 B
C#
17 lines
446 B
C#
namespace PKHeX.Core
|
|
{
|
|
public sealed class EncounterSlot7GO : EncounterSlot
|
|
{
|
|
public override int Generation => 7;
|
|
|
|
public EncounterSlot7GO(EncounterArea7g area, int species, int form, int min, int max) : base(area)
|
|
{
|
|
Species = species;
|
|
Form = form;
|
|
LevelMin = min;
|
|
LevelMax = max;
|
|
}
|
|
|
|
public void ClampMinRaid(int level) => LevelMin = level;
|
|
}
|
|
}
|