Optimize import

This commit is contained in:
Katchan 2021-10-28 23:23:10 +02:00
parent 8a35d22b58
commit 4ac571ad09
5 changed files with 3 additions and 9 deletions

View File

@ -6,7 +6,6 @@ import fr.lnl.game.server.games.player.Player;
import fr.lnl.game.server.utils.Point; import fr.lnl.game.server.utils.Point;
import java.util.List; import java.util.List;
import java.util.Random;
public class DropBomb extends DropObject { public class DropBomb extends DropObject {

View File

@ -6,7 +6,6 @@ import fr.lnl.game.server.games.player.Player;
import fr.lnl.game.server.utils.Point; import fr.lnl.game.server.utils.Point;
import java.util.List; import java.util.List;
import java.util.Random;
public class DropMine extends DropObject { public class DropMine extends DropObject {
public DropMine(Game game){ public DropMine(Game game){

View File

@ -2,15 +2,12 @@ package fr.lnl.game.server.games.action;
import fr.lnl.game.server.games.Game; import fr.lnl.game.server.games.Game;
import fr.lnl.game.server.games.grid.Box; import fr.lnl.game.server.games.grid.Box;
import fr.lnl.game.server.games.grid.Grid;
import fr.lnl.game.server.games.grid.Wall;
import fr.lnl.game.server.games.player.Player; import fr.lnl.game.server.games.player.Player;
import fr.lnl.game.server.utils.Pair; import fr.lnl.game.server.utils.Pair;
import fr.lnl.game.server.utils.Point; import fr.lnl.game.server.utils.Point;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.LinkedList;
import java.util.List; import java.util.List;
public abstract class DropObject extends AbstractAction { public abstract class DropObject extends AbstractAction {

View File

@ -6,7 +6,9 @@ import fr.lnl.game.server.games.player.Player;
import fr.lnl.game.server.utils.Pair; import fr.lnl.game.server.utils.Pair;
import fr.lnl.game.server.utils.Point; import fr.lnl.game.server.utils.Point;
import java.util.*; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class Move extends AbstractAction { public class Move extends AbstractAction {
public Move(Game game) { public Move(Game game) {

View File

@ -1,15 +1,12 @@
package fr.lnl.game.server.games.action; package fr.lnl.game.server.games.action;
import fr.lnl.game.server.games.Game; import fr.lnl.game.server.games.Game;
import fr.lnl.game.server.games.grid.Box;
import fr.lnl.game.server.games.grid.Wall; import fr.lnl.game.server.games.grid.Wall;
import fr.lnl.game.server.games.player.Player; import fr.lnl.game.server.games.player.Player;
import fr.lnl.game.server.games.weapon.Weapon; import fr.lnl.game.server.games.weapon.Weapon;
import fr.lnl.game.server.utils.Pair;
import fr.lnl.game.server.utils.Point; import fr.lnl.game.server.utils.Point;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List; import java.util.List;
public class Shot extends AbstractAction { public class Shot extends AbstractAction {