Used ClangFormat style guide I'm happy with.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
#ifndef CREATURELIB_RANDOM_HPP
|
||||
#define CREATURELIB_RANDOM_HPP
|
||||
#include <cstdint>
|
||||
#include <chrono>
|
||||
#include <cstdint>
|
||||
#include <random>
|
||||
using namespace std::chrono;
|
||||
namespace CreatureLib::Core {
|
||||
class Random {
|
||||
private:
|
||||
std::mt19937 _rng;
|
||||
|
||||
public:
|
||||
Random();
|
||||
explicit Random(int32_t seed) : _rng(seed){};
|
||||
@@ -20,4 +21,4 @@ namespace CreatureLib::Core {
|
||||
};
|
||||
}
|
||||
|
||||
#endif //CREATURELIB_RANDOM_HPP
|
||||
#endif // CREATURELIB_RANDOM_HPP
|
||||
|
||||
Reference in New Issue
Block a user