loadFromShuttle

fun loadFromShuttle(shuttle: Shuttle, cargoId: String)

Picks up cargo from the com.grarcht.shuttle.framework.Shuttle warehouse using cargoId and updates imageState with the result. Transitions to SecondImageState.LostToProcessDeath immediately when cargoId is empty, indicating that the cargo was not preserved.

Parameters

shuttle

the Shuttle instance used for cargo pickup.

cargoId

the identifier of the cargo to retrieve, or an empty string if lost.