I made a new class that implements Screen, what I've seen from other people's code is that they create a constructor that takes a parameter of Game game. I did not created a constructor, I think that's the reason why I get the error
public class MainMenu implements Screen{
public MainMenu(Game game){ //I dont know what are these for
this.game = game; //<--
}
public void show() {
btnAtlas=new TextureAtlas(Gdx.files.internal("bitters.atlas"));
skin=new Skin();
skin.addRegions(btnAtlas);
stage=new Stage(Gdx.graphics.getWidth(),Gdx.graphics.getHeight(),true);// I get the error here when initializing the Stage
}
}
the error is "Cannon resolve constructor 'Stage(int,int,boolean)'"