BWAPI
Aiur/include/Random.h
Go to the documentation of this file.
00001 #pragma once
00002 #include <BWAPI.h>
00003 #include <cstdlib>
00004 #include <ctime>
00005 #include <cmath>
00006 
00007 class Random
00008 {
00009 public:
00010         Random();
00011         //Random(double);
00012         Random(int);
00013 
00014         //void setMaxDouble                             (double);
00015         void setMaxInt                                  (int);
00016 
00017         //double        nextDouble                      ();
00018         int                     nextInt                                 ();
00019 
00020         //double        nextAnotherDouble       ();
00021         int                     nextAnotherInt          ();
00022 
00023 private:
00024         //double        maxDouble;
00025         int                     maxInt;
00026 
00027         //double        lastDouble;
00028         int                     lastInt;
00029 };
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines