예제 #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
파일: PlayerHand.cs 프로젝트: KRLacey/socAI
 public double HandValueOfWood()
 {
     return(wood * AIEngine.ValueOfWood());
 }