/*public void BroadcastAttitudeChanged() { foreach(StatusListener listener in statusListeners) { listener.AttitudeChanged(GetAttitudeTotal()); } }*/ public void ImpressionAdjusted(GameObject source, ImpressionAdjuster impressionAdjuster) { //Debug.Log("ImpressionMemory:ImpressionAdjusted"); if (impressionAdjuster.AppliesTo(gameObject, source)){ impressionAdjuster.AdjustCurrentImpression((CurrentImpression)persistentImpressions.currentImpressions[impressionAdjuster.GetImpression()]); //BroadcastAttitudeChanged(); } }
public ImpressionPerception(GameObject source, ImpressionAdjuster impressionAdjuster) : base(source) { this.source = source; this.impressionAdjuster = impressionAdjuster; }