Exemple #1
0
        protected override void DefineConsiderations()
        {
            C = new BladderConsideration(Considerations);
            C = new ShowerConsideration(Considerations);
            C = new HungerConsideration(Considerations);
            C = new ThirstConsideration(Considerations);
            C = new EnergyConsideration(Considerations);
            C = new TirednessConsideration(Considerations);
            C = new HowUnfitConsideration(Considerations);
            C = new GreedConsideration(Considerations);
            C = new CuriosityConsideration(Considerations);

            Cc = new CompositeConsideration(ConsiderationDefs.LiveLong, Considerations);
            Cc.AddConsideration(ConsiderationDefs.Tiredness);
            Cc.AddConsideration(ConsiderationDefs.Hunger);
            Cc.AddConsideration(ConsiderationDefs.Thirst);
            Cc.Measure = new Chebyshev();

            Cc = new CompositeConsideration(ConsiderationDefs.Prosper, Considerations);
            Cc.AddConsideration(ConsiderationDefs.Curiosity);
            Cc.AddConsideration(ConsiderationDefs.Greed);
            Cc.Measure = new WeightedMetrics(3.0f);
        }
 EnergyConsideration(EnergyConsideration other) : base(other)
 {
     Initialize();
 }