Fix package syntax not correct at the beginning of classes
This commit is contained in:
parent
c5bd6f7e8e
commit
24f5269c63
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games;
|
package fr.lnl.game.server.games;
|
||||||
|
|
||||||
public class Game {
|
public class Game {
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.grid;
|
package fr.lnl.game.server.games.grid;
|
||||||
|
|
||||||
public class Bomb extends Explosive{
|
public class Bomb extends Explosive{
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.grid;
|
package fr.lnl.game.server.games.grid;
|
||||||
|
|
||||||
public interface Box {
|
public interface Box {
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.grid;
|
package fr.lnl.game.server.games.grid;
|
||||||
|
|
||||||
public class EnergyBall implements Box{
|
public class EnergyBall implements Box{
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.grid;
|
package fr.lnl.game.server.games.grid;
|
||||||
|
|
||||||
public class Explosive implements Box{
|
public class Explosive implements Box{
|
||||||
}
|
}
|
||||||
|
@ -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.Point;
|
||||||
import fr.unicaen.utils.Tuple;
|
import fr.unicaen.utils.Tuple;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.grid;
|
package fr.lnl.game.server.games.grid;
|
||||||
|
|
||||||
public class Mine extends Explosive{
|
public class Mine extends Explosive{
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.grid;
|
package fr.lnl.game.server.games.grid;
|
||||||
|
|
||||||
public class Wall implements Box{
|
public class Wall implements Box{
|
||||||
}
|
}
|
||||||
|
@ -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;
|
import fr.unicaen.utils.Point;
|
||||||
|
|
||||||
public abstract class AbstractPlayer {
|
public abstract class AbstractPlayer {
|
||||||
|
@ -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;
|
import fr.unicaen.utils.Point;
|
||||||
|
|
||||||
public class ComputerPlayer extends AbstractPlayer{
|
public class ComputerPlayer extends AbstractPlayer{
|
||||||
|
@ -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;
|
import fr.unicaen.utils.Point;
|
||||||
|
|
||||||
public class HumanPlayer extends AbstractPlayer{
|
public class HumanPlayer extends AbstractPlayer{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.player;
|
package fr.lnl.game.server.games.player;
|
||||||
|
|
||||||
public interface Player {
|
public interface Player {
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.weapon;
|
package fr.lnl.game.server.games.weapon;
|
||||||
|
|
||||||
public class Firearm implements Weapon{
|
public class Firearm implements Weapon{
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
package fr.unicaen.games.weapon;
|
package fr.lnl.game.server.games.weapon;
|
||||||
|
|
||||||
public interface Weapon {
|
public interface Weapon {
|
||||||
|
|
||||||
public int getBullet();
|
int getBullet();
|
||||||
public int horizontalDistance();
|
|
||||||
public int verticalDistance();
|
int horizontalDistance();
|
||||||
|
|
||||||
|
int verticalDistance();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user