Beispiel #1
0
        protected override void OnStart()
        {
            base.OnStart();

            fire     = new Threat();
            getStar  = new OneMinusScore(new Arrogancy());
            heal     = new OneMinusScore(new Safety());
            selector = new MaxSelector();
        }
Beispiel #2
0
 public virtual CompositeUtility AddUtility(UtilityBase ub)
 {
     utilities.Add(ub);
     return(this);
 }
Beispiel #3
0
 public OneMinusScore(UtilityBase ub)
 {
     this.ub = ub;
 }