NerfUS / Mbed 2 deprecated NerfUSTarget

Dependencies:   LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager

Fork of NerfUS by NerfUS

Revision:
30:412a779cf607
Parent:
28:8fc53a870691
Child:
32:50b777bab5a4
--- a/include/TargetManager.hpp	Mon Mar 27 18:39:38 2017 -0400
+++ b/include/TargetManager.hpp	Mon Mar 27 19:05:45 2017 -0400
@@ -1,7 +1,9 @@
 #ifndef TARGET_MANAGER_HPP
 #define TARGET_MANAGER_HPP
 
+#include "NerfusTickerInterface.hpp"
 #include "TargetInfo.hpp"
+#include "TargetInterface.hpp"
 #include "TargetManagerInterface.hpp"
 
 #include <vector>
@@ -9,12 +11,16 @@
 class TargetManager : public TargetManagerInterface
 {
     public:
+        TargetManager(std::vector<TargetInterface*>& targets, NerfusTickerInterface& nerfus_ticker);
+
         void execute(const std::vector<TargetInfo> sequence);
 
         virtual void target_missed(int target_id);
         virtual void target_hit(int target_id);
 
     private:
+        std::vector<TargetInterface*>& targets;
+        NerfusTickerInterface& nerfus_ticker;
 };
 
 #endif