mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-18 16:33:24 +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;
|
|
}
|
|
}
|