Package project.app.warzone.Utilities
Class MapResources
java.lang.Object
project.app.warzone.Utilities.MapResources
This class stores the current database for user to create custom maps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprintMapDetails(Map<Integer, String> p_detailsOfMap) voidmethod to set all continentsvoidmethod to set all countries
-
Constructor Details
-
MapResources
public MapResources()Constructor for MapResources
-
-
Method Details
-
setAllContinents
public void setAllContinents()method to set all continents -
setAllCountries
public void setAllCountries()method to set all countries -
getAllContinents
- Returns:
- returns list of continents
-
getAllCountries
- Returns:
- returns list of country
-
printMapDetails
- Parameters:
p_detailsOfMap- storing details of map
-