Class DeserializedDefencesConfig
java.lang.Object
com.csse3200.game.entities.configs.DeserializedDefencesConfig
DeserializedDefencesConfig is a wrapper class for the BaseDefenderConfig and BaseGeneratorConfig
classes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Inner class to match the JSON structure with "config" wrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the config map for the defenders.Gets the config map for the generators.
-
Constructor Details
-
DeserializedDefencesConfig
public DeserializedDefencesConfig()Creates a new DeserializedDefencesConfig.
-
-
Method Details
-
getDefenders
Gets the config map for the defenders.- Returns:
- the config map for the defenders
-
getGenerators
Gets the config map for the generators.- Returns:
- the config map for the generators
-