random_impl.h 372 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 { namespace detail {
  9. struct random_impl {
  10. virtual ~random_impl() = 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. }}