mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 04:53:54 -07:00
boom
This commit is contained in:
parent
d329376e93
commit
1c2aa15b22
38 changed files with 638 additions and 1651 deletions
15
common/rng_abstract.h
Normal file
15
common/rng_abstract.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef RNG_ABSTRACT_H
|
||||
#define RNG_ABSTRACT_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class RNG_Abstract : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
RNG_Abstract(QObject *parent = 0) : QObject(parent) { }
|
||||
virtual unsigned int getNumber(unsigned int min, unsigned int max) = 0;
|
||||
};
|
||||
|
||||
extern RNG_Abstract *rng;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue