forked from MagicBane/Server
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
885 B
29 lines
885 B
package engine.gameManager; |
|
|
|
import engine.objects.BootySetEntry; |
|
import engine.objects.EquipmentSetEntry; |
|
|
|
import java.util.ArrayList; |
|
import java.util.HashMap; |
|
|
|
public enum NPCManager { |
|
|
|
NPC_MANAGER; |
|
public static HashMap<Integer, ArrayList<EquipmentSetEntry>> _equipmentSetMap = new HashMap<>(); |
|
public static HashMap<Integer, ArrayList<Integer>> _runeSetMap = new HashMap<>(); |
|
|
|
public static HashMap<Integer, ArrayList<BootySetEntry>> _bootySetMap = new HashMap<>(); |
|
|
|
|
|
public static void LoadAllEquipmentSets() { |
|
_equipmentSetMap = DbManager.ItemBaseQueries.LOAD_EQUIPMENT_FOR_NPC_AND_MOBS(); |
|
} |
|
|
|
public static void LoadAllRuneSets() { |
|
_runeSetMap = DbManager.ItemBaseQueries.LOAD_RUNES_FOR_NPC_AND_MOBS(); |
|
} |
|
|
|
public static void LoadAllBootySets() { |
|
_bootySetMap = DbManager.ItemBaseQueries.LOAD_BOOTY_FOR_MOBS(); |
|
} |
|
}
|
|
|