Irrlicht 3D Engine
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
IRandomizer.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2012 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5
#ifndef __I_RANDOMIZER_H_INCLUDED__
6
#define __I_RANDOMIZER_H_INCLUDED__
7
8
#include "
IReferenceCounted.h
"
9
10
namespace
irr
11
{
12
14
class
IRandomizer
:
public
virtual
IReferenceCounted
15
{
16
public
:
18
19
virtual
void
reset
(
s32
value=0x0f0f0f0f) =0;
20
22
virtual
s32
rand
()
const
=0;
23
25
virtual
f32
frand
()
const
=0;
26
28
virtual
s32
randMax
()
const
=0;
29
};
30
31
}
// end namespace irr
32
33
#endif
Irrlicht Engine
Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sat Apr 20 2019 06:56:49 for Irrlicht 3D Engine by
Doxygen
1.8.1.2