next steps implementing cardschance

This commit is contained in:
doitux
2008-10-14 20:19:37 +00:00
parent 1962bfe925
commit 01048bd7e9
7 changed files with 129 additions and 7 deletions
+6
View File
@@ -90,3 +90,9 @@ void Tools::getRandNumber(int start, int end, int howMany, int* randArray, bool
}
}
double* Tools::calcCardsChance()
{
double array[10] = { 30.12, 11.11, 100.00, 0.00, 0.00, 99.22, 78.56, 34.22, 67.22, 21.00 };
return array;
}
+1 -1
View File
@@ -24,7 +24,7 @@
class Tools{
public:
static void getRandNumber(int, int, int, int*, bool);
static double* calcCardsChance();
};
#endif