Squelette initial du moteur de jeu

This commit is contained in:
François Autin 2021-05-03 02:29:11 +02:00
parent 040d931843
commit 9bb39b654c
No known key found for this signature in database
GPG Key ID: 24025429AC559B7C
5 changed files with 75 additions and 1 deletions

View File

@ -1,8 +1,32 @@
/**
* CLASS MAIN
*
* PROJET DE FIN D'ANNÉE DE L3
*
* @author François Autin
*
*/
import launcher.Launcher;
import engine.Engine;
public class Main {
// Interface de configuration et lancement
static Launcher launcher = new Launcher();
// Moteur de jeu
static Engine game = new Engine();
public static void main(String[] args) {
// TODO Auto-generated method stub
// Lancement de l'interface de configuration du Jeu
try {
launcher.launch();
} catch (Exception e) {
e.printStackTrace();
}
}

14
src/engine/Engine.java Normal file
View File

@ -0,0 +1,14 @@
/**
* CLASS ENGINE
*
* Classe principale du moteur de jeu
*
* @author François Autin
*
*/
package engine;
public class Engine {
}

View File

@ -0,0 +1,8 @@
/**
*
*/
/**
* @author François Autin
*
*/
package engine;

View File

@ -0,0 +1,20 @@
/**
* CLASS LAUNCHER
*
* Fenêtre de configuration du jeu préalablement au lancement d'une partie
*
* @author François Autin
*
*/
package launcher;
public class Launcher {
public void launch() throws Exception {
System.out.println("Hello world!");
}
}

View File

@ -0,0 +1,8 @@
/**
*
*/
/**
* @author François Autin
*
*/
package launcher;