Class DataStorageSystemCreator


public class DataStorageSystemCreator extends Object
This is a class that uses other class to create the data persistence or data storage system of this game. This class uses a facade and builder like pattern
  • Constructor Details

    • DataStorageSystemCreator

      public DataStorageSystemCreator(@NotNull @NotNull CreateDataStorage[] builders)
      Creates a new instance of DataStorageSystemCreator
      builders - a group of objects that help build certain parts of the data storage system
  • Method Details

    • create

      public void create()
      Create a new data storage.