NerfUS game coordinator for the Nerf gun firing range
Dependencies: HardwareInterface mbed-rtos mbed
Fork of NerfUS by
Diff: include/GameModes/PrecisionMode.hpp
- Branch:
- PlayableGame
- Revision:
- 18:469c8b2a9af9
- Parent:
- 17:48474266a361
- Child:
- 19:33e8cd56630f
--- a/include/GameModes/PrecisionMode.hpp Fri Mar 17 17:19:42 2017 -0400 +++ b/include/GameModes/PrecisionMode.hpp Mon Mar 27 11:15:50 2017 -0400 @@ -1,13 +1,14 @@ #pragma once #include "PlayableGame.hpp" #include "Target.hpp" +#include <cstddef> class PrecisionMode : PlayableGame { public: ~PrecisionMode(); - TargetInfo GetNextTarget(); + TargetInfo * GetNextTarget(); void OnTargetHit(int timeTaken); void OnTargetMiss(); GameStats GetStats();