Fix package names
This commit is contained in:
parent
db7d533c90
commit
1c806704f1
@ -3,10 +3,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
|
id 'application'
|
||||||
id 'fr.lnl.game.java-application-conventions'
|
id 'fr.lnl.game.java-application-conventions'
|
||||||
id 'org.openjfx.javafxplugin' version '0.0.10'
|
id 'org.openjfx.javafxplugin' version '0.0.10'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':server')
|
implementation project(':server')
|
||||||
}
|
}
|
||||||
@ -18,5 +23,5 @@ javafx {
|
|||||||
|
|
||||||
application {
|
application {
|
||||||
// Define the main class for the application.
|
// Define the main class for the application.
|
||||||
mainClass = 'fr.lnl.game.client.App'
|
mainClassName = 'fr.lnl.game.client.App'
|
||||||
}
|
}
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
package fr.unicaen.graphics;
|
|
||||||
|
|
||||||
public class GameScrenn{
|
|
||||||
}
|
|
@ -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 {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
module client {
|
module client {
|
||||||
requires javafx.graphics;
|
|
||||||
requires javafx.controls;
|
requires javafx.controls;
|
||||||
requires legot.neveu.lucas.server;
|
requires transitive javafx.graphics;
|
||||||
|
requires server;
|
||||||
exports fr.lnl.game.client;
|
exports fr.lnl.game.client;
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.action;
|
package fr.lnl.game.server.games.action;
|
||||||
|
|
||||||
public interface Action {
|
public interface Action {
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.action;
|
package fr.lnl.game.server.games.action;
|
||||||
|
|
||||||
public class DeployShield implements Action{
|
public class DeployShield implements Action{
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.action;
|
package fr.lnl.game.server.games.action;
|
||||||
|
|
||||||
public class DropBomb extends DropObject{
|
public class DropBomb extends DropObject{
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.action;
|
package fr.lnl.game.server.games.action;
|
||||||
|
|
||||||
public class DropMine extends DropObject{
|
public class DropMine extends DropObject{
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.action;
|
package fr.lnl.game.server.games.action;
|
||||||
|
|
||||||
public class DropObject implements Action{
|
public class DropObject implements Action{
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.action;
|
package fr.lnl.game.server.games.action;
|
||||||
|
|
||||||
public class Move implements Action{
|
public class Move implements Action{
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.action;
|
package fr.lnl.game.server.games.action;
|
||||||
|
|
||||||
public class Nothing implements Action {
|
public class Nothing implements Action {
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.games.action;
|
package fr.lnl.game.server.games.action;
|
||||||
|
|
||||||
public class Shot implements Action{
|
public class Shot implements Action{
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package fr.lnl.game.server.games.grid;
|
package fr.lnl.game.server.games.grid;
|
||||||
|
|
||||||
import fr.unicaen.utils.Point;
|
import fr.lnl.game.server.utils.Point;
|
||||||
import fr.unicaen.utils.Tuple;
|
import fr.lnl.game.server.utils.Tuple;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package fr.lnl.game.server.games.player;
|
package fr.lnl.game.server.games.player;
|
||||||
|
|
||||||
import fr.lnl.game.server.games.weapon.Weapon;
|
import fr.lnl.game.server.games.weapon.Weapon;
|
||||||
import fr.unicaen.utils.Point;
|
import fr.lnl.game.server.utils.Point;
|
||||||
|
|
||||||
public abstract class AbstractPlayer {
|
public abstract class AbstractPlayer {
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package fr.lnl.game.server.games.player;
|
package fr.lnl.game.server.games.player;
|
||||||
|
|
||||||
import fr.lnl.game.server.games.weapon.Weapon;
|
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 class ComputerPlayer extends AbstractPlayer{
|
||||||
public ComputerPlayer(int id, Point position, int ernergy, Weapon weapon, boolean shieldDeploy) {
|
public ComputerPlayer(int id, Point position, int ernergy, Weapon weapon, boolean shieldDeploy) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package fr.lnl.game.server.games.player;
|
package fr.lnl.game.server.games.player;
|
||||||
|
|
||||||
import fr.lnl.game.server.games.weapon.Weapon;
|
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 class HumanPlayer extends AbstractPlayer{
|
||||||
public HumanPlayer(int id, Point position, int ernergy, Weapon weapon, boolean shieldDeploy) {
|
public HumanPlayer(int id, Point position, int ernergy, Weapon weapon, boolean shieldDeploy) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.utils;
|
package fr.lnl.game.server.utils;
|
||||||
|
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package fr.unicaen.utils;
|
package fr.lnl.game.server.utils;
|
||||||
|
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
module legot.neveu.lucas.server {
|
module server {
|
||||||
exports fr.lnl.game.server;
|
exports fr.lnl.game.server;
|
||||||
}
|
}
|
@ -8,4 +8,4 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
rootProject.name = 'legot-neveu-lucas'
|
rootProject.name = 'legot-neveu-lucas'
|
||||||
include('client', 'server')
|
include(':client', ':server')
|
||||||
|
Loading…
Reference in New Issue
Block a user