NerfUS game coordinator for the Nerf gun firing range
Dependencies: HardwareInterface mbed-rtos mbed
Fork of NerfUS by
source/Target.cpp@17:48474266a361, 2017-03-17 (annotated)
- Committer:
- Ismael Balafrej
- Date:
- Fri Mar 17 17:19:42 2017 -0400
- Branch:
- PlayableGame
- Revision:
- 17:48474266a361
- Parent:
- 16:5e6c695468b6
First Commit of PlayableGame
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maxime Dupuis |
16:5e6c695468b6 | 1 | #include "Target.hpp" |
Maxime Dupuis |
16:5e6c695468b6 | 2 | |
Maxime Dupuis |
16:5e6c695468b6 | 3 | TargetInfo make_TargetInfo(const int id, const TargetType type, int timeout_ms) |
Maxime Dupuis |
16:5e6c695468b6 | 4 | { |
Maxime Dupuis |
16:5e6c695468b6 | 5 | TargetInfo target = {id, type, timeout_ms}; |
Maxime Dupuis |
16:5e6c695468b6 | 6 | return target; |
Maxime Dupuis |
16:5e6c695468b6 | 7 | } |
Maxime Dupuis |
16:5e6c695468b6 | 8 |