Class MenTypeList
java.lang.Object
MenTypeList
List of NPC men encounters.
- Since:
- 2016-02-14
-
Field Summary
Modifier and TypeFieldDescription(package private) static MenTypeList
The singleton class instance.(package private) final String
Name of file with information.(package private) MenType[]
List of MenTypes. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) MenType
getCategory
(String category) Get a MenType from string description.static MenTypeList
Access the singleton class instance.static void
Main test method.
-
Field Details
-
MENTYPES_FILE
Name of file with information.- See Also:
-
instance
The singleton class instance. -
typeList
MenType[] typeListList of MenTypes.
-
-
Constructor Details
-
MenTypeList
Constructor (read from dedicated file).- Throws:
IOException
-
-
Method Details
-
getInstance
Access the singleton class instance. -
getCategory
Get a MenType from string description. -
main
Main test method.
-