Package armyc2.c5isr.renderer.utilities
Class SectorModUtils
- java.lang.Object
-
- armyc2.c5isr.renderer.utilities.SectorModUtils
-
public class SectorModUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SectorModUtilsgetInstance()java.lang.StringgetName(int version, int symbolSet, int location, java.lang.String code)java.util.ArrayList<java.lang.String[]>getSectorModList(int version, int symbolSet, int location)
-
-
-
Method Detail
-
getInstance
public static SectorModUtils getInstance()
-
getSectorModList
public java.util.ArrayList<java.lang.String[]> getSectorModList(int version, int symbolSet, int location)- Parameters:
version- like SymbolID.Version_2525Dch1 or SymbolID.Version_2525Ech1 Only tracks sector mods for these 2 versions.symbolSet- like SymbolID.SymbolSet_Air; use 0 for Common Modifiers as they are not tied to a symbol set.location- 1 for top, 2 for bottom- Returns:
- and ArrayList of String[] like ["00","Unspecified"],["01","Attack/Strike"]
-
getName
public java.lang.String getName(int version, int symbolSet, int location, java.lang.String code)- Parameters:
version- like SymbolID.Version_2525Dch1 or SymbolID.Version_2525Ech1 Only tracks sector mods for these 2 versions.symbolSet- like SymbolID.SymbolSet_Air; use 0 for Common Modifiers as they are not tied to a symbol set.location- 1 for top, 2 for bottomcode- like "01" or "100"
-
-