NerfUS game coordinator for the Nerf gun firing range
Dependencies: HardwareInterface mbed-rtos mbed
Fork of NerfUS by
Diff: source/RandomNumberGenerator.cpp
- Revision:
- 16:5e6c695468b6
- Child:
- 17:48474266a361
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/RandomNumberGenerator.cpp Thu Feb 23 21:22:57 2017 -0500 @@ -0,0 +1,9 @@ +#include "RandomNumberGenerator.hpp" + +int RandomNumberGenerator::get(int min, int max) +{ + //TODO: Implement this. For tests, inject a known seed in the constructor + //(instead of "time(NULL)", which we might use in the real app) + return 42; +} +