private void OnUnitRemoved(EntityRemovedEvent evt) { GameObject.Destroy(Factory.GameObjectFromModel(evt.RemovedXmasEntity)); }
private void model_EntityRemoved(EntityRemovedEvent evt) { viewWorld.RemoveEntity(evt.RemovedXmasEntity); }
private void model_EntityRemoved(EntityRemovedEvent evt) { log.LogStringWithTimeStamp(String.Format("{{{0}}} was removed from the world", evt.RemovedXmasEntity), DebugLevel.Info); viewlookup[evt.RemovedXmasEntity].Dispose(); viewlookup.Remove(evt.RemovedXmasEntity); }