NerfUS game coordinator for the Nerf gun firing range

Dependencies:   HardwareInterface mbed-rtos mbed

Fork of NerfUS by NerfUS

Branch:
PlayableGame
Revision:
17:48474266a361
Child:
18:469c8b2a9af9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/GameModes/PrecisionMode.hpp	Fri Mar 17 17:19:42 2017 -0400
@@ -0,0 +1,18 @@
+#pragma once
+#include "PlayableGame.hpp"
+#include "Target.hpp"
+
+class PrecisionMode : PlayableGame
+{
+public:
+  ~PrecisionMode();
+
+  TargetInfo GetNextTarget();
+  void OnTargetHit(int timeTaken);
+  void OnTargetMiss();
+  GameStats GetStats();
+
+private:
+  int currentTarget = 0;
+  int numberOfRounds = 5;
+};
\ No newline at end of file