#ifndef _RACE_H #define _RACE_H #include #include "Horse.h" class Race { public: Race(); // default constructor Race(int length); // custom length std::string raceToString(); // formatted output std::string laneToString(int lane); // formatted output bool pause(); bool resume(); void printLane(int lane); void step(); void printAllLanes(); bool isFinished(); void start(); void printWinners(); int getWinner(); void logWinner(); // opens output file private: Horse *horses; // horses bool interrupt; int numHorses; // number of horses (size of array) int length; // length of the track }; #endif