ModernUO/Projects/UOContent/Engines/Craft/Core/CraftSkillCol.cs
2020-05-09 12:55:56 -07:00

25 lines
No EOL
452 B
C#

using System.Collections;
namespace Server.Engines.Craft
{
public class CraftSkillCol : CollectionBase
{
public void Add(CraftSkill craftSkill)
{
List.Add(craftSkill);
}
public void Remove(int index)
{
if (index > Count - 1 || index < 0)
{
}
else
{
List.RemoveAt(index);
}
}
public CraftSkill GetAt(int index) => (CraftSkill)List[index];
}
}