예제 #1
0
 private void OnUnitRemoved(EntityRemovedEvent evt)
 {
     GameObject.Destroy(Factory.GameObjectFromModel(evt.RemovedXmasEntity));
 }
예제 #2
0
 private void model_EntityRemoved(EntityRemovedEvent evt)
 {
     viewWorld.RemoveEntity(evt.RemovedXmasEntity);
 }
예제 #3
0
 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);
 }