| 1 | /*************************************************************************** |
| 2 | random.h - description |
| 3 | ------------------- |
| 4 | begin : Tue Dec 12 2000 |
| 5 | copyright : (C) 2000 by Waldemar Baraldi |
| 6 | email : [email protected] |
| 7 | ***************************************************************************/ |
| 8 | |
| 9 | /*************************************************************************** |
| 10 | * * |
| 11 | * This program is free software; you can redistribute it and/or modify * |
| 12 | * it under the terms of the GNU General Public License as published by * |
| 13 | * the Free Software Foundation; either version 2 of the License, or * |
| 14 | * (at your option) any later version. * |
| 15 | * * |
| 16 | ***************************************************************************/ |
| 17 | |
| 18 | #ifndef RANDOM_H |
| 19 | #define RANDOM_H |
| 20 | |
| 21 | #include "object.h" |
| 22 | #include <stdlib.h> |
| 23 | |
| 24 | class Random: public Object{ |
| 25 | public: |
| 26 | Random():Object(){}; |
| 27 | ~Random(){}; |
| 28 | |
| 29 | int getRandomNumber(int low, int high); |
| 30 | }; |
| 31 | |
| 32 | #endif |
| 33 |