Make randbase
member protected in RandomNumberGenerator
Allows to extend `RandomNumberGenerator` via C++ modules.
(cherry picked from commit 1923f0d302
)
This commit is contained in:
parent
a973bc9530
commit
943db2ca34
1 changed files with 1 additions and 1 deletions
|
@ -37,9 +37,9 @@
|
||||||
class RandomNumberGenerator : public Reference {
|
class RandomNumberGenerator : public Reference {
|
||||||
GDCLASS(RandomNumberGenerator, Reference);
|
GDCLASS(RandomNumberGenerator, Reference);
|
||||||
|
|
||||||
|
protected:
|
||||||
RandomPCG randbase;
|
RandomPCG randbase;
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue