/// <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); } }
/// <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); } } }
/// <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); } } }
/// <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) { }