public OptionsPanel(MainFrame mainFrame, GameEnvironment game) {
super();
this.mainFrame = mainFrame;
this.game = game;
this.modele = game.engine().getStatsModel();
this.action = new OptionsActionImpl(mainFrame, game, this, this.modele);
this.panels = new TreeMap<String, JPanel>();
this.buttons = new TreeMap<String, JButton>();
this.setPreferredSize(new Dimension(400, 600));
this.setLayout(new GridLayout(2, 1));