public int AddObject(ICollectable collectableObject) { AddObject((IModelObject)collectableObject); CollectableObjects.Add(new KeyValuePair <int, ICollectable>(collectableObject.GetID(), collectableObject)); return(collectableObject.GetID()); }