public void askNextPlayerName(int player) {
if (player == 3 || game.getPlayers().get(player).getComputer()) {
// ResourceLoader resourceLoader = new PolygonResourceLoader(game.getWorld());
ResourceLoader resourceLoader = new ImageResourceLoader(game.getWorld());
// Renderer renderer = new SimpleRenderer();
Renderer renderer = new QuadTreeRenderer(resourceLoader, game.getWorld());
MainGame mainGame = new MainGame(this, renderer, screenWidth, screenHeight);
mainGame.render();
mainScene.setRoot(mainGame);