コード例 #1
0
 private static void NotifyRemoved(RevealedEntity entity)
 {
     //Log.Trace("ControllableEntity " + entity.DisplayName + " removed.", "NotifyRemoved");
     if (RevealedEntityRemoval != null)
     {
         RevealedEntityRemoval(entity);
     }
 }
コード例 #2
0
 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);
 }