Make randbase member protected in RandomNumberGenerator

Allows to extend `RandomNumberGenerator` via C++ modules.

(cherry picked from commit 1923f0d302)
This commit is contained in:
Andrii Doroshenko (Xrayez) 2020-10-27 01:52:15 +02:00 committed by Rémi Verschelde
parent a973bc9530
commit 943db2ca34
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -37,9 +37,9 @@
class RandomNumberGenerator : public Reference {
GDCLASS(RandomNumberGenerator, Reference);
protected:
RandomPCG randbase;
protected:
static void _bind_methods();
public: