Fling Engine  0.00.1
Fling Engine is a game engine written in Vulkan
Random.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdlib.h> /* srand, rand */
4 #include <time.h> /* time */
5 
6 namespace Fling
7 {
8  class FLING_API Random
9  {
10  public:
11 
16  static bool Init();
17 
23  static const int Random0ToN( const int t_max );
24 
31  static const int RandomBetween( const int t_min, const int t_max );
32 
34  static bool bIsInitalized;
35 
36  };
37 } // namespace Fling
Definition: Random.h:8
static bool bIsInitalized
Flag to determine if random has been initialized.
Definition: Random.h:34
Definition: Engine.h:13