NerfUS game coordinator for the Nerf gun firing range

Dependencies:   HardwareInterface mbed-rtos mbed

Fork of NerfUS by NerfUS

source/Target.cpp

Committer:
Ismael Balafrej
Date:
2017-03-17
Branch:
PlayableGame
Revision:
17:48474266a361
Parent:
16:5e6c695468b6

File content as of revision 17:48474266a361:

#include "Target.hpp"

TargetInfo make_TargetInfo(const int id, const TargetType type, int timeout_ms)
{
    TargetInfo target = {id, type, timeout_ms};
    return target;
}