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 NerfUS

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers TargetInterface.hpp Source File

TargetInterface.hpp

00001 #ifndef TARGET_INTERFACE_HPP
00002 #define TARGET_INTERFACE_HPP
00003 
00004 class TargetInterface
00005 {
00006     public:
00007         virtual void ally_command() = 0;
00008         virtual void enemy_command() = 0;
00009         virtual void timeout(int time_taken_ms) = 0;
00010         virtual void hit(int time_taken_ms) = 0;
00011 };
00012 
00013 
00014 
00015 #endif