mirror of
https://github.com/guezoloic/racing-game.git
synced 2026-03-28 18:03:50 +00:00
fix(main.java): enlever les commentaires
This commit is contained in:
@@ -3,11 +3,6 @@ import java.awt.Color;
|
||||
public class Main {
|
||||
public static void main(String[] args) throws InterruptedException
|
||||
{
|
||||
// Game game = new Game.Builder()
|
||||
// .defaultMap()
|
||||
// .setPlayers(3)
|
||||
// .build();
|
||||
|
||||
Integer[][] map = new Integer[][]
|
||||
{
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
@@ -24,22 +19,6 @@ public class Main {
|
||||
|
||||
Map m = Map.fromInts(map);
|
||||
|
||||
// // game.run();
|
||||
|
||||
// // Dashboard d = new Dashboard(new Car(10, new State()), "Voiture 1", null, Color.BLUE, 500, 500, 10, 10);
|
||||
// Car[] cars = new Car[] { new Car("Voiture 1", Color.PINK, m.getPathSize(), new State())};
|
||||
// System.out.println(cars[0].getLoop());
|
||||
// Track t = new Track(m, cars, null, 1080, 512, 0, 0);
|
||||
// Dashboard d = new Dashboard(cars[0], null, () -> true, 300, 300, 0, 0);
|
||||
// Rankboard r = new Rankboard(null, 100, 100, 0, 0, cars);
|
||||
// while(cars[0].getRound() < 1)
|
||||
// {
|
||||
|
||||
// cars[0].run();
|
||||
// GameView.update();
|
||||
// Thread.sleep(500);
|
||||
// }
|
||||
|
||||
Game game = new Game.Builder()
|
||||
.addCar(new Game.CarInfo("Voiture 1", Color.BLUE))
|
||||
.addCar(new Game.CarInfo("Voiture 2", Color.PINK))
|
||||
|
||||
Reference in New Issue
Block a user