Adds BattleRandom methods for unsigned 32 bit numbers
continuous-integration/drone/push Build is failing

This commit is contained in:
Deukhoofd committed 2022-03-26 11:36:13 +01:00
1 parent 4f77d30a7d
commit 5dff6d735f
1 file changed
+3
+3
View File
@@ -19,6 +19,9 @@ namespace CreatureLib::Battling {
i32 Get() noexcept { return _random.Get(); }
i32 Get(i32 max) noexcept { return _random.Get(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; }
uint_fast32_t GetSeed() const noexcept { return _random.GetSeed(); }
};