/// <summary> /// Internal call for every sniffed item per Round. /// </summary> /// <param name="item">Sniffed Item</param> internal void NoteSmellableItem(SmellableProperty item) { if (OnSmellableItem != null) { OnSmellableItem(item); } }
/// <summary> /// Internal Call to remove a smellable Item from the List. /// </summary> /// <param name="item">Property of the removed Item</param> internal void RemoveSmellableItem(SmellableProperty item) { if (smellableItems.Remove(item)) { if (OnLostSmellableItem != null) { OnLostSmellableItem(item); } } }
/// <summary> /// Internal Call to Add a new smellable Item to the List. /// </summary> /// <param name="item">Property of the new Item</param> internal void AddSmellableItem(SmellableProperty item) { if (!smellableItems.Contains(item)) { smellableItems.Add(item); if (OnNewSmellableItem != null) { OnNewSmellableItem(item); } } }
/// <summary> /// Default Constructor for the Type Mapper. /// </summary> /// <param name="item">Related Engine Item</param> /// <param name="property">Related Engine Property</param> public SmellableState(Item item, SmellableProperty property) : base(item, property) { }
/// <summary> /// Default Constructor for the Type Mapper. /// </summary> /// <param name="item">Related Engine Item</param> /// <param name="property">Related Engine Property</param> public SmellableState(Item item, SmellableProperty property) : base(item, property) { }