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-30
Branch:
PlayableGame
Revision:
19:33e8cd56630f
Parent:
16:5e6c695468b6

File content as of revision 19:33e8cd56630f:

#include "Target.hpp"

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