From 4e01c8e79424ad77ea47e1151210ee9f0625b56c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 3 Aug 2023 08:27:08 -0400 Subject: [PATCH] Moved manager class to manager package --- src/engine/db/handlers/dbLootTableHandler.java | 2 +- src/engine/{loot => gameManager}/LootManager.java | 6 +----- src/engine/objects/Mob.java | 3 +-- src/engine/server/world/WorldServer.java | 5 ++--- 4 files changed, 5 insertions(+), 11 deletions(-) rename src/engine/{loot => gameManager}/LootManager.java (99%) diff --git a/src/engine/db/handlers/dbLootTableHandler.java b/src/engine/db/handlers/dbLootTableHandler.java index 02854cb9..6d39f970 100644 --- a/src/engine/db/handlers/dbLootTableHandler.java +++ b/src/engine/db/handlers/dbLootTableHandler.java @@ -10,7 +10,7 @@ package engine.db.handlers; import engine.gameManager.DbManager; -import engine.loot.LootManager; +import engine.gameManager.LootManager; import engine.objects.Item; import engine.objects.LootTable; import org.pmw.tinylog.Logger; diff --git a/src/engine/loot/LootManager.java b/src/engine/gameManager/LootManager.java similarity index 99% rename from src/engine/loot/LootManager.java rename to src/engine/gameManager/LootManager.java index bd4b0eb9..77473e6e 100644 --- a/src/engine/loot/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -6,13 +6,9 @@ // Magicbane Emulator Project © 2013 - 2022 // www.magicbane.com -package engine.loot; +package engine.gameManager; import engine.Enum; -import engine.gameManager.ConfigManager; -import engine.gameManager.DbManager; -import engine.gameManager.NPCManager; -import engine.gameManager.ZoneManager; import engine.net.DispatchMessage; import engine.net.client.msg.chat.ChatSystemMsg; import engine.objects.*; diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 109bad24..fc3b508c 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -13,17 +13,16 @@ import ch.claude_martin.enumbitset.EnumBitSet; import engine.Enum; import engine.Enum.*; import engine.InterestManagement.WorldGrid; -import engine.mobileAI.Threads.MobAIThread; import engine.exception.SerializationException; import engine.gameManager.*; import engine.job.JobScheduler; import engine.jobs.DeferredPowerJob; import engine.jobs.UpgradeNPCJob; -import engine.loot.LootManager; import engine.math.Bounds; import engine.math.Quaternion; import engine.math.Vector3f; import engine.math.Vector3fImmutable; +import engine.mobileAI.Threads.MobAIThread; import engine.net.ByteBufferWriter; import engine.net.Dispatch; import engine.net.DispatchMessage; diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index b7b520e6..75b160a7 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -17,15 +17,14 @@ import engine.Enum.SupportMsgType; import engine.InterestManagement.HeightMap; import engine.InterestManagement.RealmMap; import engine.InterestManagement.WorldGrid; -import engine.mobileAI.Threads.MobAIThread; -import engine.mobileAI.Threads.MobRespawnThread; import engine.db.archive.DataWarehouse; import engine.exception.MsgSendException; import engine.gameManager.*; import engine.job.JobContainer; import engine.job.JobScheduler; import engine.jobs.LogoutCharacterJob; -import engine.loot.LootManager; +import engine.mobileAI.Threads.MobAIThread; +import engine.mobileAI.Threads.MobRespawnThread; import engine.net.Dispatch; import engine.net.DispatchMessage; import engine.net.ItemProductionManager;