diff options
Diffstat (limited to 'engines/neverhood/gamemodule.h')
-rw-r--r-- | engines/neverhood/gamemodule.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/neverhood/gamemodule.h b/engines/neverhood/gamemodule.h index 6aa711d96b..8fafe2ba9e 100644 --- a/engines/neverhood/gamemodule.h +++ b/engines/neverhood/gamemodule.h @@ -65,14 +65,13 @@ protected: void updateMenuModule(); }; -class NonRepeatingRandomNumbers { +class NonRepeatingRandomNumbers : public Common::Array<int> { public: NonRepeatingRandomNumbers(Common::RandomSource *rnd, int count); int getNumber(); - bool empty() const { return _numbers.empty(); } + void removeNumber(int number); protected: Common::RandomSource *_rnd; - Common::Array<int> _numbers; }; } // End of namespace Neverhood |