using System.Collections.Generic;
using Terraria.ModLoader;
namespace CalamityMod.Systems.Collections
{
///
/// A that contains a of modded Tile IDs which the Abyss can replace while generating.
///
public sealed class AbyssValidTileReplacementList : ModSystem
{
public static IList List { get; private set; }
public override void OnModLoad()
{
List =
[
// By default, Calamity does not add anything to this list. Mods are free to do so with reflection.
];
}
public override void Unload() => List = null;
///
/// A shorthand method to check whether or not a tile can be replaced by the Abyss while generating.
///
public static bool Includes(int tileType) => List.Contains(tileType);
}
}