public float expend_ap(float amount = 100f, bool is_turn_ending = false) { has_taken_actions = true; current_ap -= amount; turn_meter_controller.update_current_meter(time_to_full(), is_turn_ending); if (is_turn_ending) { has_taken_actions = false; hex_tile.highlight_as_active(false); } return(current_ap); }