|
Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
|
This class provides random nummber generation of ints and floats withing the passed boundaries More...
#include <Random.hpp>
Public Member Functions | |
| int const & | GenerateInt (int const &min, int const &max) |
| Generate a number within the passed boundaries More... | |
| float const & | GenerateFloat (float const &min, float const &max) |
| Generate a number within the passed boundaries More... | |
| ~Random ()=default | |
Friends | |
| class | Engine |
This class provides random nummber generation of ints and floats withing the passed boundaries
Definition at line 9 of file Random.hpp.
|
default |
| float const & Engine::Random::GenerateFloat | ( | float const & | min, |
| float const & | max | ||
| ) |
Generate a number within the passed boundaries
| min | The minimum number to be generated |
| max | The maximum number to be generated |
Definition at line 37 of file Random.cpp.
| int const & Engine::Random::GenerateInt | ( | int const & | min, |
| int const & | max | ||
| ) |
Generate a number within the passed boundaries
| min | The minimum number to be generated |
| max | The maximum number to be generated |
Definition at line 14 of file Random.cpp.
|
friend |
Definition at line 30 of file Random.hpp.
1.8.11