Interface AbstraktesPferdeInventar

All Superinterfaces:
Inventar, Iterable<GegenstandsStapel>
All Known Subinterfaces:
LamaInventar, PferdeInventar

public interface AbstraktesPferdeInventar extends Inventar
An interface to the inventar of an AbstraktesPferd.
  • Method Details

    • getSaddle

      @Nullable GegenstandsStapel getSaddle()
      Gets the item in the horse's saddle slot.
      Returns:
      the saddle item
    • setSaddle

      void setSaddle(@Nullable GegenstandsStapel stack)
      Sets the item in the horse's saddle slot.
      Parameters:
      stack - the new item