Class EHDToTables
java.lang.Object
EHDToTables
Table of conversions from EHD to Monster Level Table.
- Since:
- 2017-11-19
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) EHDToTables.EHDTableRecord[]
Array of EHDTableRecords.(package private) final String
Name of file with treasure information.(package private) static EHDToTables
The singleton class instance. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EHDToTables
Access the singleton class instance.static void
Main test method.(package private) int
mapEHDToTable
(int EHD) Map an EHD to a monster level table.
-
Field Details
-
EHD_TO_TABLE_FILE
Name of file with treasure information.- See Also:
-
instance
The singleton class instance. -
convertMatrix
EHDToTables.EHDTableRecord[] convertMatrixArray of EHDTableRecords.
-
-
Constructor Details
-
EHDToTables
Constructor (read from dedicated file).- Throws:
IOException
-
-
Method Details
-
getInstance
Access the singleton class instance. -
mapEHDToTable
int mapEHDToTable(int EHD) Map an EHD to a monster level table. -
main
Main test method.
-