示例#1
0
 public double ValueOfGetResources()
 {
     return(getBrick * AIEngine.ValueOfBrick() +
            getOre * AIEngine.ValueOfOre() +
            getWood * AIEngine.ValueOfWood() +
            getGrain * AIEngine.ValueOfGrain() +
            getSheep * AIEngine.ValueOfSheep());
 }
示例#2
0
 public double ValueOfGiveResources()
 {
     return(giveBrick * AIEngine.ValueOfBrick() +
            giveOre * AIEngine.ValueOfOre() +
            giveWood * AIEngine.ValueOfWood() +
            giveGrain * AIEngine.ValueOfGrain() +
            giveSheep * AIEngine.ValueOfSheep());
 }
示例#3
0
 public double HandValueOfGrain()
 {
     return(grain * AIEngine.ValueOfGrain());
 }