import java.awt.*;
import javax.swing.*;
import java.util.ArrayDeque;

public class Fenetre extends JFrame {

	public Fenetre() {
		this.setSize(460, 483);
		this.setLocation(100, 100);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		ArrayDeque<Point> coordSnake = new ArrayDeque<>();
		for (int i = 0; i != 5; i++) {
			coordSnake.addLast(new Point(i+5, 5));
		}
		JGrilleDeJeu grille = new JGrilleDeJeu(this, coordSnake);
		grille.setSize(new Dimension(500, 500));
		this.add(grille);
	}

}