mainMenu = new MainMenu(playerNames,colors);
window.setFixedSize(mainMenu,GAME_BOARD_WIDTH,GAME_BOARD_HEIGHT-5);
window.addToMainPanel(mainMenu);
buttonPanel = new ButtonPanel(this);
window.setFixedWidth(buttonPanel, CONTROL_PANEL_WIDTH);;
window.addToControlPanel(buttonPanel);
}