namespace TACO { using System; class ThingieManager : PartManager { private static ThingieManager mInstance = null; private ThingieManager() : base(typeof(Thingie)) { } public override string Name { get { return "Thingies"; } } public static ThingieManager Instance { get { if (mInstance == null) mInstance = new ThingieManager(); return mInstance; } } public Thingie CreateThingie(string name, string id) { return CreatePart(name, id) as Thingie; } } }