Exemplo n.º 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));
 }
Exemplo n.º 2
0
 static Game()
 {
     s_MaximumMinimumTargetDistance = Math.Sqrt(
         Math.Pow(TableFactory.GetTableWidth(TableType.LargePockets) / 4.0, 2) +
         Math.Pow(TableFactory.GetTableHeight(TableType.LargePockets) / 2.0, 2));
 }