Fix package names

This commit is contained in:
Quentin Legot 2021-10-12 10:33:14 +02:00
parent db7d533c90
commit 1c806704f1
20 changed files with 26 additions and 36 deletions

View File

@ -3,10 +3,15 @@
*/
plugins {
id 'application'
id 'fr.lnl.game.java-application-conventions'
id 'org.openjfx.javafxplugin' version '0.0.10'
}
repositories {
mavenCentral()
}
dependencies {
implementation project(':server')
}
@ -18,5 +23,5 @@ javafx {
application {
// Define the main class for the application.
mainClass = 'fr.lnl.game.client.App'
mainClassName = 'fr.lnl.game.client.App'
}

View File

@ -1,4 +0,0 @@
package fr.unicaen.graphics;
public class GameScrenn{
}

View File

@ -1,11 +0,0 @@
package fr.unicaen.graphics;
import javafx.application.Application;
import javafx.stage.Stage;
public class MainMenuScrenn extends Application {
@Override
public void start(Stage stage) throws Exception {
}
}

View File

@ -1,6 +1,6 @@
module client {
requires javafx.graphics;
requires javafx.controls;
requires legot.neveu.lucas.server;
requires transitive javafx.graphics;
requires server;
exports fr.lnl.game.client;
}

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.action;
package fr.lnl.game.server.games.action;
public interface Action {

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.action;
package fr.lnl.game.server.games.action;
public class DeployShield implements Action{
@Override

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.action;
package fr.lnl.game.server.games.action;
public class DropBomb extends DropObject{
}

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.action;
package fr.lnl.game.server.games.action;
public class DropMine extends DropObject{
}

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.action;
package fr.lnl.game.server.games.action;
public class DropObject implements Action{
@Override

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.action;
package fr.lnl.game.server.games.action;
public class Move implements Action{
@Override

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.action;
package fr.lnl.game.server.games.action;
public class Nothing implements Action {
@Override

View File

@ -1,4 +1,4 @@
package fr.unicaen.games.action;
package fr.lnl.game.server.games.action;
public class Shot implements Action{
@Override

View File

@ -1,7 +1,7 @@
package fr.lnl.game.server.games.grid;
import fr.unicaen.utils.Point;
import fr.unicaen.utils.Tuple;
import fr.lnl.game.server.utils.Point;
import fr.lnl.game.server.utils.Tuple;
import java.util.HashMap;

View File

@ -1,7 +1,7 @@
package fr.lnl.game.server.games.player;
import fr.lnl.game.server.games.weapon.Weapon;
import fr.unicaen.utils.Point;
import fr.lnl.game.server.utils.Point;
public abstract class AbstractPlayer {

View File

@ -1,7 +1,7 @@
package fr.lnl.game.server.games.player;
import fr.lnl.game.server.games.weapon.Weapon;
import fr.unicaen.utils.Point;
import fr.lnl.game.server.utils.Point;
public class ComputerPlayer extends AbstractPlayer{
public ComputerPlayer(int id, Point position, int ernergy, Weapon weapon, boolean shieldDeploy) {

View File

@ -1,7 +1,7 @@
package fr.lnl.game.server.games.player;
import fr.lnl.game.server.games.weapon.Weapon;
import fr.unicaen.utils.Point;
import fr.lnl.game.server.utils.Point;
public class HumanPlayer extends AbstractPlayer{
public HumanPlayer(int id, Point position, int ernergy, Weapon weapon, boolean shieldDeploy) {

View File

@ -1,4 +1,4 @@
package fr.unicaen.utils;
package fr.lnl.game.server.utils;
import java.util.Objects;

View File

@ -1,4 +1,4 @@
package fr.unicaen.utils;
package fr.lnl.game.server.utils;
import java.util.Objects;

View File

@ -1,3 +1,3 @@
module legot.neveu.lucas.server {
module server {
exports fr.lnl.game.server;
}

View File

@ -8,4 +8,4 @@
*/
rootProject.name = 'legot-neveu-lucas'
include('client', 'server')
include(':client', ':server')