NerfUS mobile node that manages a target for the Nerf gun firing range
Dependencies: LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager
Fork of NerfUS by
Diff: source/TargetManager.cpp
- Revision:
- 30:412a779cf607
- Parent:
- 28:8fc53a870691
- Child:
- 32:50b777bab5a4
--- a/source/TargetManager.cpp Mon Mar 27 18:39:38 2017 -0400 +++ b/source/TargetManager.cpp Mon Mar 27 19:05:45 2017 -0400 @@ -1,5 +1,13 @@ #include "TargetManager.hpp" +TargetManager::TargetManager(std::vector<TargetInterface*>& targets, + NerfusTickerInterface& nerfus_ticker) : + targets(targets), + nerfus_ticker(nerfus_ticker) +{ + +} + void TargetManager::target_hit(int target_number) {