summaryrefslogtreecommitdiff
path: root/Homework/cs3460/gameoflife/PatternRandom.hpp
blob: b89c949aefa7ef7c1520290110cef9753b5862a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "PatternSet.hpp"

#include <random>

#ifndef PATTERN_RANDOM_HPP
    #define PATTERN_RANDOM_HPP

class PatternRandom : public PatternSet
{
  private:
    std::normal_distribution<double> m_distributionX;
    std::normal_distribution<double> m_distributionY;
    std::default_random_engine m_generator;

  public:
    PatternRandom(std::uint8_t cols, std::uint8_t rows, float density);
};

#endif // PATTERN_RANDOM_HPP