예제 #1
0
 static Game()
 {
     s_MaximumMinimumTargetDistance = Math.Sqrt(
         Math.Pow(TableFactory.GetTableWidth(c_Table) / 4.0, 2) +
         Math.Pow(TableFactory.GetTableHeight(c_Table) / 2.0, 2));
 }
예제 #2
0
파일: Game.cs 프로젝트: Anubi85/PoolAI
 static Game()
 {
     s_MaximumMinimumTargetDistance = Math.Sqrt(
         Math.Pow(TableFactory.GetTableWidth(TableType.LargePockets) / 4.0, 2) +
         Math.Pow(TableFactory.GetTableHeight(TableType.LargePockets) / 2.0, 2));
 }