NerfUS game coordinator for the Nerf gun firing range
Dependencies: HardwareInterface mbed-rtos mbed
Fork of NerfUS by
Diff: include/GameCoordinator.hpp
- Revision:
- 16:5e6c695468b6
- Child:
- 18:469c8b2a9af9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/GameCoordinator.hpp Thu Feb 23 21:22:57 2017 -0500 @@ -0,0 +1,20 @@ +#ifndef GAME_COORDINATOR_HPP +#define GAME_COORDINATOR_HPP + +#include <vector> + +#include "RandomNumberGenerator.hpp" +#include "Target.hpp" + +class GameCoordinator +{ + public: + GameCoordinator(RandomNumberGenerator& random_number_generator); + std::vector<TargetInfo> generate_random_target_course(int number_of_targets, int timeout_ms); + + private: + RandomNumberGenerator& random_number_generator; +}; + +#endif +