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