servuo/Scripts/Services/Craft/Core/CraftResCol.cs
2013-10-28 07:09:42 +00:00

32 lines
No EOL
613 B
C#

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