示例#1
0
 /// <summary>
 /// Internal call for every visible item per Round.
 /// </summary>
 /// <param name="item">Visible Item</param>
 internal void NoteVisibleItem(VisibleProperty item)
 {
     if (OnVisibleItem != null)
     {
         OnVisibleItem(item);
     }
 }
示例#2
0
        /// <summary>
        /// Internal Call to add another visible Item to the List.
        /// </summary>
        /// <param name="item">VisibleProperty of a new visible Item</param>
        internal void AddVisibleItem(VisibleProperty item)
        {
            if (!visibleItems.Contains(item))
            {
                visibleItems.Add(item);

                if (OnNewVisibleItem != null)
                {
                    OnNewVisibleItem(item);
                }
            }
        }
示例#3
0
        /// <summary>
        /// Internal Call to remove a visible Item from the List.
        /// </summary>
        /// <param name="item">Property to remove</param>
        internal void RemoveVisibleItem(VisibleProperty item)
        {
            if (visibleItems.Contains(item))
            {
                visibleItems.Remove(item);

                if (OnLostVisibleItem != null)
                {
                    OnLostVisibleItem(item);
                }
            }
        }
示例#4
0
 /// <summary>
 /// Default Constructor for the Type Mapper.
 /// </summary>
 /// <param name="item">Related Engine Item</param>
 /// <param name="property">Related Engine Property</param>
 public VisibleState(Item item, VisibleProperty property) : base(item, property)
 {
 }