1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/// Dynamic boost-pad state: seconds of cooldown left (`0` = active) and ordered car members.
///
/// This public type is no longer `Copy`. Existing struct literals must now provide
/// `touching_car_idxs` or use `BoostPadState::DEFAULT`. The added field changes
/// serialized snapshots. Map-based formats can default a missing field, but the
/// next tick rebuilds order by car index and loses saved arrival order. Sequence
/// formats such as postcard cannot read old layouts. Rebuild both protocol ends.
/// Read with `Arena::get_boost_pad_state`; restore with
/// `Arena::set_boost_pad_state`. A car index must occur in no more than one
/// pad state's `touching_car_idxs` list. If restored data repeats an index
/// across pads, the next tick keeps it on the lowest-index pad that still
/// retains the car. Cooldowns tick in
/// [`crate::Arena::step_tick`] from `MutatorConfig::boost_pad_cooldown_*`.