Upgraded to Lwjgl3 and add imgui and filechooser

This commit is contained in:
Willem Cazander 2022-01-28 10:32:01 +01:00
parent 190a08932c
commit 06ec684091
3 changed files with 87 additions and 54 deletions

View file

@ -1,14 +1,25 @@
package love.distributedrebirth.demo4d;
import java.util.List;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.utils.ScreenUtils;
import net.spookygames.gdx.nativefilechooser.NativeFileChooser;
public class MainScreen extends ApplicationAdapter {
private List<String> args;
public NativeFileChooser fileChooser;
SpriteBatch batch;
BitmapFont font;
public MainScreen(List<String> args, NativeFileChooser fileChooser) {
this.args = args;
this.fileChooser = fileChooser;
}
@Override
public void create () {
batch = new SpriteBatch();