Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Engine
Utility
Random.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
Engine/api.hpp
"
3
4
namespace
Engine
5
{
9
class
ENGINE_API
Random
10
{
11
public
:
12
19
int
const
& GenerateInt(
int
const
& min,
int
const
& max);
20
27
float
const
& GenerateFloat(
float
const
& min,
float
const
& max);
28
29
private
:
30
friend
class
Engine
;
34
Random
();
35
public
:
36
~
Random
() =
default
;
37
private
:
38
39
int
lastResultInt;
40
float
lastResultFloat;
41
};
42
}
//namespace Engine
43
ENGINE_API
#define ENGINE_API
Definition:
api.hpp:25
Engine
Definition:
Skeleton.cpp:15
api.hpp
Engine::Random
This class provides random nummber generation of ints and floats withing the passed boundaries ...
Definition:
Random.hpp:9
Generated by
1.8.11