device.h 338 B

1234567891011121314151617
  1. //
  2. // random_impl.h
  3. // pokemon
  4. //
  5. // Created by Sam Jaffe on 12/9/17.
  6. //
  7. #pragma once
  8. namespace engine::random {
  9. struct Device {
  10. virtual ~Device() = default;
  11. virtual unsigned int exclusive(unsigned int max) = 0;
  12. virtual double exclusive(double min, double max) = 0;
  13. virtual double inclusive(double min, double max) = 0;
  14. };
  15. }