Class ContainerSliceTrouble

All Implemented Interfaces:
TroubleIface, HolderBlockTrouble, ContainerSliceTroubleIface, ContainerTroubleIface, HolderTroubleIface
Direct Known Subclasses:
SliceSoldOutTrouble, UnknownIngredientTrouble

public abstract class ContainerSliceTrouble extends ContainerTrouble implements ContainerSliceTroubleIface
Base class for troubles related to a container slice. This simply adds the slice position to the standard container information which allows external logic to know which part of the container is impacted.

This added the slice interface to the trouble which indicates the following data is available:

  • slicePos : The index into the slide array for the impacted slice.
Since:
1.0
Version:
2023-02-06