Files
Aerofoil/PortabilityLayer/RandomNumberGenerator.h
Diomendius 1b18a87495 Normalize line endings
This commit contains only the result of `git add --renormalize .`

`git show --ignore-space-change` can verify that this commit only
changes whitespace.
2024-07-31 20:21:47 +12:00

20 lines
333 B
C++

#pragma once
#ifndef __PL_RANDOM_NUMBER_GENERATOR_H__
#define __PL_RANDOM_NUMBER_GENERATOR_H__
#include <stdint.h>
namespace PortabilityLayer
{
class RandomNumberGenerator
{
public:
virtual void Seed(uint32_t seed) = 0;
virtual uint32_t GetNextAndAdvance() = 0;
static RandomNumberGenerator *GetInstance();
};
}
#endif