// when something is destroyed it needs to call this so as to register with the AllObserver public void RegisterDestruction(ObjectDetails entity) { RegisteredEntities.Remove(entity); Console.WriteLine(); WriteMessage("{0} have fallen out of favour and entered the nothing.", entity.Name); }
// when something is created it needs to call this so as to register with the AllObserver public void RegisterCreation(ObjectDetails entity) { RegisteredEntities.Add(entity); WriteMessage("{0} have arisen from the tincture of time.", entity.Name); }