PKHeX/PKHeX.Core/PKM/Shared/IGroundTile.cs
Kurt 103aa9aa4b
Revise EncounterArea and EncounterType for clarity (#3228)
EncounterArea now stores a more specific type'd array for encounter slots. Better iteration and less casting, as the nonspecific `Slots` fetch is rarely referenced.

EncounterType renamed to GroundTile to reflect how it actually works in Gen4. Was previously an ambiguous field that was clarified a little; we can describe it a little better now. Keep the GUI the same to not scare the end users.

Change Trash Byte properties to get/set a Span. Trash Byte legality checking easier on the garbage collector?
2021-06-29 20:58:06 -07:00

13 lines
349 B
C#

namespace PKHeX.Core
{
/// <summary>
/// Indicates the Type of Encounter Tile the Pokémon was encountered on.
/// </summary>
public interface IGroundTile
{
/// <summary>
/// Type of Encounter Tile the Pokémon was encountered on.
/// </summary>
GroundTileType GroundTile { get; set; }
}
}