From f669be18b30ea4e4df6db2046c0b5f196ed50724 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 30 Mar 2023 11:51:59 -0400 Subject: [PATCH] Unused MobRaceType enum removed. --- src/engine/Enum.java | 59 -------------------------------------------- 1 file changed, 59 deletions(-) diff --git a/src/engine/Enum.java b/src/engine/Enum.java index d2718ab9..050373c8 100644 --- a/src/engine/Enum.java +++ b/src/engine/Enum.java @@ -34,65 +34,6 @@ import java.util.concurrent.ThreadLocalRandom; public class Enum { - public enum MobRaceType { - - Aelfborn(436353765), - All(80289), - Animal(-1674072607), - Aracoix(-1764716937), - Celestial(-317458791), - Centaur(775630999), - Construct(-513218610), - CSR(52803), - Dragon(-1731031452), - Dwarf(71831236), - Elf(70053), - Giant(90574087), - Goblin(-1732836921), - Grave(75107943), - HalfGiant(251196434), - Human(79806088), - Infernal(-654077031), - Insect(-1407990295), - Irekei(-1770742167), - Minotaur(-949570680), - Monster(258519513), - NecroPet(618137151), - NPC(35374), - Pet(88208), - Plant(90574256), - Rat(88082), - Reptile(-591705981), - Shade(74648883), - Siege(74620179), - SiegeEngineer(-839969219), - Summoned(-656950110), - Troll(82261620), - Undead(-1942775307), - Nephilim(-592098572), - Vampire(-524731385); - - int token; - - private static HashMap _mobRaceTypeByToken = new HashMap<>(); - - MobRaceType(int token) { - this.token = token; - } - - public static MobRaceType getRaceTypebyToken(int token) { - return _mobRaceTypeByToken.get(token); - } - - public static void initRaceTypeTables() { - - for (MobRaceType raceType : MobRaceType.values()) { - _mobRaceTypeByToken.put(raceType.token, raceType); - } - } - - } - public enum MobFlagType implements EnumBitSetHelper { AGGRESSIVE, CANROAM,