Upgraded to Lwjgl3 and add imgui and filechooser
This commit is contained in:
parent
190a08932c
commit
06ec684091
3 changed files with 87 additions and 54 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue