Adds BattleRandom methods for unsigned 32 bit numbers
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
4f77d30a7d
commit
5dff6d735f
|
@ -19,6 +19,9 @@ namespace CreatureLib::Battling {
|
||||||
i32 Get() noexcept { return _random.Get(); }
|
i32 Get() noexcept { return _random.Get(); }
|
||||||
i32 Get(i32 max) noexcept { return _random.Get(max); }
|
i32 Get(i32 max) noexcept { return _random.Get(max); }
|
||||||
i32 Get(i32 min, i32 max) noexcept { return _random.Get(min, max); }
|
i32 Get(i32 min, i32 max) noexcept { return _random.Get(min, max); }
|
||||||
|
u32 GetUnsigned() noexcept { return _random.GetUnsigned(); }
|
||||||
|
u32 GetUnsigned(u32 max) noexcept { return _random.GetUnsigned(max); }
|
||||||
|
u32 GetUnsigned(u32 min, u32 max) noexcept { return _random.GetUnsigned(min, max); }
|
||||||
ArbUt::Random& GetRNG() noexcept { return _random; }
|
ArbUt::Random& GetRNG() noexcept { return _random; }
|
||||||
uint_fast32_t GetSeed() const noexcept { return _random.GetSeed(); }
|
uint_fast32_t GetSeed() const noexcept { return _random.GetSeed(); }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue