private static void NotifyRemoved(RevealedEntity entity)
 {
     //Log.Trace("ControllableEntity " + entity.DisplayName + " removed.", "NotifyRemoved");
     if (RevealedEntityRemoval != null)
     {
         RevealedEntityRemoval(entity);
     }
 }
 private static void NotifyAdded(RevealedEntity entity)
 {
     //Log.Trace("ControllableEntity " + entity.DisplayName + " added.", "NotifyAdded");
     if (RevealedEntityAddition != null)
     {
         RevealedEntityAddition(entity);
     }
 }
Пример #3
0
        public void RevealedEntityRemoved(RevealedEntity e)
        {
            var notice = new SEGarden.Notifications.AlertNotification() {
                Text = "Revealed Entity " + e.EntityId + " Removed",
                DisplaySeconds = 5
            };

            notice.Raise();

            MarkNearbyObserversToObserve(e);
        }
Пример #4
0
 private static void NotifyRemoved(RevealedEntity entity)
 {
     //Log.Trace("ControllableEntity " + entity.DisplayName + " removed.", "NotifyRemoved");
     if (RevealedEntityRemoval != null) RevealedEntityRemoval(entity);
 }
Пример #5
0
 private static void NotifyAdded(RevealedEntity entity)
 {
     //Log.Trace("ControllableEntity " + entity.DisplayName + " added.", "NotifyAdded");
     if (RevealedEntityAddition != null) RevealedEntityAddition(entity);
 }