Interface Store

All Known Implementing Classes:
Building, Vehicle

public interface Store
Defines the capability of a resource to contain other resources or entities. Typical implementers include buildings, vehicles, and containers. * @version 1.1
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an unmodifiable view of the contents.
    void
    Procedure for an entity to enter the store.
    void
    Procedure for an entity to exit the store.
  • Method Details

    • getContents

      Set<Object> getContents()
      Returns an unmodifiable view of the contents.
      Returns:
      the set of contained resources
    • getIn

      void getIn()
      Procedure for an entity to enter the store.
    • getOut

      void getOut()
      Procedure for an entity to exit the store.