Browse Source

Optimized imports.

master
MagicBot 3 years ago
parent
commit
afa74ba6fe
  1. 3
      src/discord/MagicBot.java
  2. 1
      src/engine/Enum.java
  3. 5
      src/engine/ai/MobileFSM.java
  4. 2
      src/engine/ai/MobileFSMManager.java
  5. 1
      src/engine/gameManager/ConfigManager.java
  6. 4
      src/engine/gameManager/MovementManager.java
  7. 2
      src/engine/net/client/handlers/AbandonAssetMsgHandler.java
  8. 1
      src/engine/net/client/handlers/DestroyBuildingHandler.java
  9. 1
      src/engine/objects/Mob.java
  10. 4
      src/engine/server/world/WorldServer.java
  11. 2
      src/engine/util/MiscUtils.java

3
src/discord/MagicBot.java

@ -10,7 +10,6 @@
package discord; package discord;
import discord.handlers.*; import discord.handlers.*;
import engine.Enum;
import engine.gameManager.ConfigManager; import engine.gameManager.ConfigManager;
import net.dv8tion.jda.api.JDA; import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder; import net.dv8tion.jda.api.JDABuilder;
@ -29,8 +28,6 @@ import org.pmw.tinylog.writers.RollingFileWriter;
import javax.security.auth.login.LoginException; import javax.security.auth.login.LoginException;
import java.io.*; import java.io.*;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Arrays; import java.util.Arrays;
import java.util.EnumSet; import java.util.EnumSet;
import java.util.List; import java.util.List;

1
src/engine/Enum.java

@ -24,7 +24,6 @@ import java.util.Collections;
import java.util.EnumSet; import java.util.EnumSet;
import java.util.HashMap; import java.util.HashMap;
import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.ThreadLocalRandom;
import java.util.regex.Pattern;
/* /*
* MagicBane engine enumeration class. * MagicBane engine enumeration class.

5
src/engine/ai/MobileFSM.java

@ -16,7 +16,10 @@ import engine.Enum.GameObjectType;
import engine.InterestManagement.WorldGrid; import engine.InterestManagement.WorldGrid;
import engine.ai.utilities.CombatUtilities; import engine.ai.utilities.CombatUtilities;
import engine.ai.utilities.MovementUtilities; import engine.ai.utilities.MovementUtilities;
import engine.gameManager.*; import engine.gameManager.BuildingManager;
import engine.gameManager.CombatManager;
import engine.gameManager.MovementManager;
import engine.gameManager.PowersManager;
import engine.math.Vector3fImmutable; import engine.math.Vector3fImmutable;
import engine.net.DispatchMessage; import engine.net.DispatchMessage;
import engine.net.client.msg.PerformActionMsg; import engine.net.client.msg.PerformActionMsg;

2
src/engine/ai/MobileFSMManager.java

@ -16,8 +16,6 @@ import engine.server.MBServerStatics;
import engine.util.ThreadUtils; import engine.util.ThreadUtils;
import org.pmw.tinylog.Logger; import org.pmw.tinylog.Logger;
import java.util.HashSet;
public class MobileFSMManager { public class MobileFSMManager {

1
src/engine/gameManager/ConfigManager.java

@ -16,7 +16,6 @@ import engine.Enum;
import engine.net.NetMsgHandler; import engine.net.NetMsgHandler;
import engine.server.login.LoginServer; import engine.server.login.LoginServer;
import engine.server.world.WorldServer; import engine.server.world.WorldServer;
import jdk.nashorn.internal.runtime.regexp.joni.ast.StringNode;
import org.pmw.tinylog.Logger; import org.pmw.tinylog.Logger;
import java.util.HashMap; import java.util.HashMap;

4
src/engine/gameManager/MovementManager.java

@ -15,15 +15,11 @@ import engine.Enum.SourceType;
import engine.InterestManagement.InterestManager; import engine.InterestManagement.InterestManager;
import engine.InterestManagement.WorldGrid; import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.job.JobContainer;
import engine.job.JobScheduler;
import engine.jobs.ChangeAltitudeJob;
import engine.math.Bounds; import engine.math.Bounds;
import engine.math.Vector3f; import engine.math.Vector3f;
import engine.math.Vector3fImmutable; import engine.math.Vector3fImmutable;
import engine.net.DispatchMessage; import engine.net.DispatchMessage;
import engine.net.client.ClientConnection; import engine.net.client.ClientConnection;
import engine.net.client.msg.ChangeAltitudeMsg;
import engine.net.client.msg.MoveToPointMsg; import engine.net.client.msg.MoveToPointMsg;
import engine.net.client.msg.TeleportToPointMsg; import engine.net.client.msg.TeleportToPointMsg;
import engine.net.client.msg.UpdateStateMsg; import engine.net.client.msg.UpdateStateMsg;

2
src/engine/net/client/handlers/AbandonAssetMsgHandler.java

@ -12,8 +12,6 @@ import engine.net.client.msg.ErrorPopupMsg;
import engine.objects.*; import engine.objects.*;
import org.pmw.tinylog.Logger; import org.pmw.tinylog.Logger;
import java.util.concurrent.ConcurrentHashMap;
/* /*
* @Author: * @Author:
* @Summary: Processes application protocol message which processes * @Summary: Processes application protocol message which processes

1
src/engine/net/client/handlers/DestroyBuildingHandler.java

@ -9,7 +9,6 @@ import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg; import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.DestroyBuildingMsg; import engine.net.client.msg.DestroyBuildingMsg;
import engine.net.client.msg.ErrorPopupMsg; import engine.net.client.msg.ErrorPopupMsg;
import engine.net.client.msg.PlaceAssetMsg;
import engine.objects.*; import engine.objects.*;
/* /*

1
src/engine/objects/Mob.java

@ -32,7 +32,6 @@ import engine.net.client.msg.ManageCityAssetsMsg;
import engine.net.client.msg.PetMsg; import engine.net.client.msg.PetMsg;
import engine.net.client.msg.PlaceAssetMsg; import engine.net.client.msg.PlaceAssetMsg;
import engine.powers.EffectsBase; import engine.powers.EffectsBase;
import engine.powers.PowersBase;
import engine.server.MBServerStatics; import engine.server.MBServerStatics;
import engine.server.world.WorldServer; import engine.server.world.WorldServer;
import org.joda.time.DateTime; import org.joda.time.DateTime;

4
src/engine/server/world/WorldServer.java

@ -53,7 +53,9 @@ import org.pmw.tinylog.labelers.TimestampLabeler;
import org.pmw.tinylog.policies.StartupPolicy; import org.pmw.tinylog.policies.StartupPolicy;
import org.pmw.tinylog.writers.RollingFileWriter; import org.pmw.tinylog.writers.RollingFileWriter;
import java.io.*; import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.InetAddress; import java.net.InetAddress;
import java.nio.file.Files; import java.nio.file.Files;
import java.nio.file.Paths; import java.nio.file.Paths;

2
src/engine/util/MiscUtils.java

@ -12,8 +12,6 @@ package engine.util;
import engine.gameManager.ConfigManager; import engine.gameManager.ConfigManager;
import engine.server.MBServerStatics; import engine.server.MBServerStatics;
import java.util.regex.Pattern;
public class MiscUtils { public class MiscUtils {

Loading…
Cancel
Save