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