|
@@ -1,8 +1,6 @@
|
|
|
-package xyz.prismix.MiningGame;
|
|
|
+package xyz.tbvns.powerGD;
|
|
|
|
|
|
import com.badlogic.gdx.ApplicationAdapter;
|
|
|
-import com.badlogic.gdx.Gdx;
|
|
|
-import com.badlogic.gdx.graphics.GL20;
|
|
|
import com.badlogic.gdx.graphics.Texture;
|
|
|
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
|
|
|
import com.badlogic.gdx.utils.ScreenUtils;
|
|
@@ -10,25 +8,25 @@ import com.badlogic.gdx.utils.ScreenUtils;
|
|
|
/** {@link com.badlogic.gdx.ApplicationListener} implementation shared by all platforms. */
|
|
|
public class Main extends ApplicationAdapter {
|
|
|
private SpriteBatch batch;
|
|
|
- private Texture image;
|
|
|
+ //private Texture image;
|
|
|
|
|
|
@Override
|
|
|
public void create() {
|
|
|
batch = new SpriteBatch();
|
|
|
- image = new Texture("libgdx.png");
|
|
|
+ //image = new Texture();
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public void render() {
|
|
|
ScreenUtils.clear(0.15f, 0.15f, 0.2f, 1f);
|
|
|
batch.begin();
|
|
|
- batch.draw(image, 140, 210);
|
|
|
+// batch.draw(image, 140, 210);
|
|
|
batch.end();
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public void dispose() {
|
|
|
batch.dispose();
|
|
|
- image.dispose();
|
|
|
+// image.dispose();
|
|
|
}
|
|
|
}
|