Class DataStorageSystemCreator
java.lang.Object
com.mg105.use_cases.set_up.data_system_creator.DataStorageSystemCreator
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 Summary
ConstructorDescriptionDataStorageSystemCreator
(@NotNull CreateDataStorage[] builders) Creates a new instance of DataStorageSystemCreator -
Method Summary
-
Constructor Details
-
DataStorageSystemCreator
Creates a new instance of DataStorageSystemCreator- Parameters:
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.
-