mirror of
https://github.com/Cpt-Adok/SNAKE.git
synced 2026-01-25 13:34:07 +00:00
changement de l'ordre des fichiers
This commit is contained in:
@@ -1,21 +1,20 @@
|
||||
import Display.Terminal;
|
||||
import Environnements.Map;
|
||||
import Objets.Items;
|
||||
import Personnages.Personnage;
|
||||
import Personnages.Player;
|
||||
import environnements.Map;
|
||||
import game.Terminal;
|
||||
import personnages.Personnage;
|
||||
import personnages.Player;
|
||||
import tests.*;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
Personnage.n = 2;
|
||||
|
||||
Map map = new Map(12, 30);
|
||||
|
||||
map.addObjects(Items.FRAISE, 5, 5);
|
||||
|
||||
Personnage[] personnages = new Personnage[] {
|
||||
new Player(new int[] {0, 0}, "Phillipe")
|
||||
new Player(new int[] {0, 0}, "Philippe Etchebest"),
|
||||
new Player(new int[] {19, 19}, "Luke Skywalker")
|
||||
};
|
||||
|
||||
Map map = new Map(20, 20);
|
||||
|
||||
new Terminal(map, personnages);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user