Go to the documentation of this file.00001
00002
00003
00004
00005 #ifndef __I_RANDOMIZER_H_INCLUDED__
00006 #define __I_RANDOMIZER_H_INCLUDED__
00007
00008 #include "IReferenceCounted.h"
00009
00010 namespace irr
00011 {
00012
00014 class IRandomizer : public virtual IReferenceCounted
00015 {
00016 public:
00018
00019 virtual void reset(s32 value=0x0f0f0f0f) =0;
00020
00022 virtual s32 rand() const =0;
00023
00025 virtual f32 frand() const =0;
00026
00028 virtual s32 randMax() const =0;
00029 };
00030
00031 }
00032
00033 #endif