added mutex for RNG, moved game command implementation from S_PH to S_Player in preparation for forwarding of game commands via tunneling interface

This commit is contained in:
Max-Wilhelm Bruker 2012-03-17 22:26:12 +01:00
parent 671214c60e
commit 9706ecd98a
11 changed files with 1090 additions and 1092 deletions

View file

@ -2,9 +2,12 @@
#define RNG_SFMT_H
#include "rng_abstract.h"
#include <QMutex>
class RNG_SFMT : public RNG_Abstract {
Q_OBJECT
private:
QMutex mutex;
public:
RNG_SFMT(QObject *parent = 0);
unsigned int getNumber(unsigned int min, unsigned int max);