void ACA_AI::update_ten_hz(int milliseconds) { ACA_time_curr = milliseconds; update_state(); if(mode_curr == ACA_Avoid) { apply_avoid(); ACA_time_stamp2 = ACA_time_curr; //keep the unrelated stamp to be updated } else { ACA_time_stamp = ACA_time_curr; //keep the unrelated stamp to be updated } update_rc(); }
void slot_button::rebuild_layouts(const logic_gui_context& context, const this_in_container& this_id) { game_gui_rect_node::rebuild_layouts(context, this_id); update_rc(context, this_id); }