void state_switcher() { if (state_aggressive) { A_state.state_update(Aggressive_actions); } if (state_defensive) { D_state.state_update(Defensive_actions); } }