takeRand.h 336 B

12345678910111213141516171819
  1. #ifndef TAKERAND_H_INCLUDED
  2. #define TAKERAND_H_INCLUDED
  3. /*Description:
  4. Permet d'obtenir un entier au hasard.
  5. */
  6. #include<iostream>
  7. #include<ctime>
  8. #include<cstdlib>
  9. #include<SDL/SDL.h>
  10. int takeRand(int maxiNb);
  11. int takeRand(int maxiNb,int antiLatence);
  12. int takeRand(int maxiNb,Uint32 noLatence);
  13. #endif // TAKERAND_H_INCLUDED