Fix package syntax not correct at the beginning of classes

This commit is contained in:
Quentin Legot 2021-10-10 16:34:54 +02:00
parent c5bd6f7e8e
commit 24f5269c63
14 changed files with 23 additions and 20 deletions

View File

@ -1,4 +1,4 @@
package fr.unicaen.games;
package fr.lnl.game.server.games;
public class Game {
}

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.grid;
package fr.lnl.game.server.games.grid;
public class Bomb extends Explosive{
}

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.grid;
package fr.lnl.game.server.games.grid;
public interface Box {
}

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.grid;
package fr.lnl.game.server.games.grid;
public class EnergyBall implements Box{
}

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.grid;
package fr.lnl.game.server.games.grid;
public class Explosive implements Box{
}

View File

@ -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;

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.grid;
package fr.lnl.game.server.games.grid;
public class Mine extends Explosive{
}

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.grid;
package fr.lnl.game.server.games.grid;
public class Wall implements Box{
}

View File

@ -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 {

View File

@ -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{

View File

@ -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{

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.player;
package fr.lnl.game.server.games.player;
public interface Player {
}

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.weapon;
package fr.lnl.game.server.games.weapon;
public class Firearm implements Weapon{
@Override

View File

@ -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();
}