struct Status {
unsigned our_score, their_score;
- bool offense;
+ enum { NOT_STARTED, OFFENSE, DEFENSE } attack_state;
+ bool stoppage;
+ bool should_pull;
unsigned num_passes;
unsigned possession_sec;
+ unsigned stoppage_sec;
};
Status get_status_at(uint64_t t);
std::set<int> get_team_at(uint64_t t);
+ void set_team_at(uint64_t, const std::set<int> &new_team);
private:
struct Player {