Ejemplo n.º 1
0
 // only called if _opinion is non-zero
 private void UpdateOpinion()
 {
     this._opinion.Update();
     if (this._opinion.Finished)
     {
         this._opinion = null;
     }
 }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
 // only called if _opinion is non-zero
 private void UpdateOpinion()
 {
     this._opinion.Update();
     if (this._opinion.Finished)
     {
         this._opinion = null;
     }
 }
Ejemplo n.º 4
0
        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;
        }