#ifndef TARGET_H
#define TARGET_H

/* target.h */
/* Target module public functions */

// Initialize target module
void initTargets(void);

// Check to see if targets have been legally hit
unsigned char checkTarget1(void);
unsigned char checkTarget2(void);

// Respond to a hit target: increase score and deactivate target
void registerHit1(void);
void registerHit2(void);

// Check to see if a new target needs to be activated
unsigned char checkActivateTarget(void);

// Select a new target
void activateTarget(void);

// Return each player's score
unsigned char score1(void);
unsigned char score2(void);

// Deactivate the target module
void endTarget(void);

#endif /*TARGET_H*/