mirror of
https://github.com/Cpt-Adok/SNAKE.git
synced 2026-01-25 13:34:07 +00:00
changement de tout le programme avec ajout de plein de nouvelle chose et coorection de chose pour le rendre plus pratique
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import environnements.Map;
|
||||
import environnements.*;
|
||||
import game.Terminal;
|
||||
import object.Items;
|
||||
import personnages.Personnage;
|
||||
import personnages.Player;
|
||||
import tests.*;
|
||||
import personnages.*;
|
||||
import types.Item;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
@@ -15,8 +13,9 @@ public class Main {
|
||||
};
|
||||
|
||||
Map map = new Map(20, 20);
|
||||
map.addObjectsRandomize(new Object[] {Items.FRAISE}, 2);
|
||||
// map.addObjects(Item.FRAISE, 0, 0);
|
||||
// map.addObjectsRandomize(new Item[] {Item.FRAISE}, 1);
|
||||
|
||||
new Terminal(map, personnages);
|
||||
new Terminal(map, personnages).run();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user