diff --git a/server/src/main/java/fr/lnl/game/server/games/Game.java b/server/src/main/java/fr/lnl/game/server/games/Game.java index 1aaf65f..0bc4d50 100644 --- a/server/src/main/java/fr/lnl/game/server/games/Game.java +++ b/server/src/main/java/fr/lnl/game/server/games/Game.java @@ -1,4 +1,4 @@ -package fr.unicaen.games; +package fr.lnl.game.server.games; public class Game { } diff --git a/server/src/main/java/fr/lnl/game/server/games/grid/Bomb.java b/server/src/main/java/fr/lnl/game/server/games/grid/Bomb.java index 6d29fd5..090d41a 100644 --- a/server/src/main/java/fr/lnl/game/server/games/grid/Bomb.java +++ b/server/src/main/java/fr/lnl/game/server/games/grid/Bomb.java @@ -1,4 +1,4 @@ -package fr.unicaen.games.grid; +package fr.lnl.game.server.games.grid; public class Bomb extends Explosive{ } diff --git a/server/src/main/java/fr/lnl/game/server/games/grid/Box.java b/server/src/main/java/fr/lnl/game/server/games/grid/Box.java index 4bff3d4..593512e 100644 --- a/server/src/main/java/fr/lnl/game/server/games/grid/Box.java +++ b/server/src/main/java/fr/lnl/game/server/games/grid/Box.java @@ -1,4 +1,4 @@ -package fr.unicaen.games.grid; +package fr.lnl.game.server.games.grid; public interface Box { } diff --git a/server/src/main/java/fr/lnl/game/server/games/grid/EnergyBall.java b/server/src/main/java/fr/lnl/game/server/games/grid/EnergyBall.java index af7f23d..7b018b7 100644 --- a/server/src/main/java/fr/lnl/game/server/games/grid/EnergyBall.java +++ b/server/src/main/java/fr/lnl/game/server/games/grid/EnergyBall.java @@ -1,4 +1,4 @@ -package fr.unicaen.games.grid; +package fr.lnl.game.server.games.grid; public class EnergyBall implements Box{ } diff --git a/server/src/main/java/fr/lnl/game/server/games/grid/Explosive.java b/server/src/main/java/fr/lnl/game/server/games/grid/Explosive.java index c9440b2..562ca9c 100644 --- a/server/src/main/java/fr/lnl/game/server/games/grid/Explosive.java +++ b/server/src/main/java/fr/lnl/game/server/games/grid/Explosive.java @@ -1,4 +1,4 @@ -package fr.unicaen.games.grid; +package fr.lnl.game.server.games.grid; public class Explosive implements Box{ } diff --git a/server/src/main/java/fr/lnl/game/server/games/grid/Grid.java b/server/src/main/java/fr/lnl/game/server/games/grid/Grid.java index 949a9a3..8e931ed 100644 --- a/server/src/main/java/fr/lnl/game/server/games/grid/Grid.java +++ b/server/src/main/java/fr/lnl/game/server/games/grid/Grid.java @@ -1,4 +1,4 @@ -package fr.unicaen.games.grid; +package fr.lnl.game.server.games.grid; import fr.unicaen.utils.Point; import fr.unicaen.utils.Tuple; diff --git a/server/src/main/java/fr/lnl/game/server/games/grid/Mine.java b/server/src/main/java/fr/lnl/game/server/games/grid/Mine.java index 14b0436..bd3b703 100644 --- a/server/src/main/java/fr/lnl/game/server/games/grid/Mine.java +++ b/server/src/main/java/fr/lnl/game/server/games/grid/Mine.java @@ -1,4 +1,4 @@ -package fr.unicaen.games.grid; +package fr.lnl.game.server.games.grid; public class Mine extends Explosive{ } diff --git a/server/src/main/java/fr/lnl/game/server/games/grid/Wall.java b/server/src/main/java/fr/lnl/game/server/games/grid/Wall.java index 7832422..f61d246 100644 --- a/server/src/main/java/fr/lnl/game/server/games/grid/Wall.java +++ b/server/src/main/java/fr/lnl/game/server/games/grid/Wall.java @@ -1,4 +1,4 @@ -package fr.unicaen.games.grid; +package fr.lnl.game.server.games.grid; public class Wall implements Box{ } diff --git a/server/src/main/java/fr/lnl/game/server/games/player/AbstractPlayer.java b/server/src/main/java/fr/lnl/game/server/games/player/AbstractPlayer.java index ec8b08f..d3bc8d0 100644 --- a/server/src/main/java/fr/lnl/game/server/games/player/AbstractPlayer.java +++ b/server/src/main/java/fr/lnl/game/server/games/player/AbstractPlayer.java @@ -1,6 +1,6 @@ -package fr.unicaen.games.player; +package fr.lnl.game.server.games.player; -import fr.unicaen.games.weapon.Weapon; +import fr.lnl.game.server.games.weapon.Weapon; import fr.unicaen.utils.Point; public abstract class AbstractPlayer { diff --git a/server/src/main/java/fr/lnl/game/server/games/player/ComputerPlayer.java b/server/src/main/java/fr/lnl/game/server/games/player/ComputerPlayer.java index 243db20..7c79b50 100644 --- a/server/src/main/java/fr/lnl/game/server/games/player/ComputerPlayer.java +++ b/server/src/main/java/fr/lnl/game/server/games/player/ComputerPlayer.java @@ -1,6 +1,6 @@ -package fr.unicaen.games.player; +package fr.lnl.game.server.games.player; -import fr.unicaen.games.weapon.Weapon; +import fr.lnl.game.server.games.weapon.Weapon; import fr.unicaen.utils.Point; public class ComputerPlayer extends AbstractPlayer{ diff --git a/server/src/main/java/fr/lnl/game/server/games/player/HumanPlayer.java b/server/src/main/java/fr/lnl/game/server/games/player/HumanPlayer.java index f5d2e53..cb46f4b 100644 --- a/server/src/main/java/fr/lnl/game/server/games/player/HumanPlayer.java +++ b/server/src/main/java/fr/lnl/game/server/games/player/HumanPlayer.java @@ -1,6 +1,6 @@ -package fr.unicaen.games.player; +package fr.lnl.game.server.games.player; -import fr.unicaen.games.weapon.Weapon; +import fr.lnl.game.server.games.weapon.Weapon; import fr.unicaen.utils.Point; public class HumanPlayer extends AbstractPlayer{ diff --git a/server/src/main/java/fr/lnl/game/server/games/player/Player.java b/server/src/main/java/fr/lnl/game/server/games/player/Player.java index 55dc691..a4ba85f 100644 --- a/server/src/main/java/fr/lnl/game/server/games/player/Player.java +++ b/server/src/main/java/fr/lnl/game/server/games/player/Player.java @@ -1,4 +1,4 @@ -package fr.unicaen.games.player; +package fr.lnl.game.server.games.player; public interface Player { } diff --git a/server/src/main/java/fr/lnl/game/server/games/weapon/Firearm.java b/server/src/main/java/fr/lnl/game/server/games/weapon/Firearm.java index 89d3288..4527672 100644 --- a/server/src/main/java/fr/lnl/game/server/games/weapon/Firearm.java +++ b/server/src/main/java/fr/lnl/game/server/games/weapon/Firearm.java @@ -1,4 +1,4 @@ -package fr.unicaen.games.weapon; +package fr.lnl.game.server.games.weapon; public class Firearm implements Weapon{ @Override diff --git a/server/src/main/java/fr/lnl/game/server/games/weapon/Weapon.java b/server/src/main/java/fr/lnl/game/server/games/weapon/Weapon.java index 0f42947..dbbccf5 100644 --- a/server/src/main/java/fr/lnl/game/server/games/weapon/Weapon.java +++ b/server/src/main/java/fr/lnl/game/server/games/weapon/Weapon.java @@ -1,8 +1,11 @@ -package fr.unicaen.games.weapon; +package fr.lnl.game.server.games.weapon; public interface Weapon { - public int getBullet(); - public int horizontalDistance(); - public int verticalDistance(); + int getBullet(); + + int horizontalDistance(); + + int verticalDistance(); + }