Merge branch 'paul' into AL/races-potions
This commit is contained in:
11
src/rng.h
11
src/rng.h
@ -26,9 +26,16 @@ public:
|
||||
unsigned int get_init_seed() const;
|
||||
int get_curr_rand_num() const;
|
||||
|
||||
bool trial(fraction &psuccess);
|
||||
bool trial(const fraction &psuccess);
|
||||
|
||||
template<class T> T &get_rand_in_vector(const std::vector<T> &vec);
|
||||
bool coin_flip();
|
||||
|
||||
int exclude_middle(const int lower_bound, const int upper_bound,
|
||||
const int excluded);
|
||||
|
||||
template<class T> T rand_exclude(std::vector<T> &vec, T &target);
|
||||
|
||||
template<class T> T get_rand_in_vector(std::vector<T> &vec);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user