Fling Engine
0.00.1
Fling Engine is a game engine written in Vulkan
FlingEngine
Utils
inc
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
Fling::Random
Definition:
Random.h:8
Fling::Random::bIsInitalized
static bool bIsInitalized
Flag to determine if random has been initialized.
Definition:
Random.h:34
Fling
Definition:
Engine.h:13
Generated by
1.8.13