// only called if _opinion is non-zero private void UpdateOpinion() { this._opinion.Update(); if (this._opinion.Finished) { this._opinion = null; } }
public void AddActionSomethingToSay(ActionSaySomething opinion) { // Add priorities to words so that // 1) if the creature recieves overriding words it only overrides according to priority // 2) a volubility option can be implemented if (this._opinion != null) { this._opinion.InterruptionCleanUp(); } this._opinion = opinion; }