about summary refs log tree commit diff stats
path: root/Source/ChallengeRandomizer.h
blob: 10944cdb40a3499ba6e7456d57ae052aacf84d86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "Memory.h"
#include <memory>

class ChallengeRandomizer {
public:
	ChallengeRandomizer(const std::shared_ptr<Memory>& memory, int seed);

private:
	void AdjustRng(int offset);
	std::shared_ptr<Memory> _memory;

	int RNG_ADDR;
	int RNG2_ADDR;
};