Icon Changes
Made some changes so that the application now has a custom icon. Changes were only really made to DesktopLauncher.java and added the icon to the asset folder. The other two files edited weren't actually changed.
This commit is contained in:
parent
d114083688
commit
9a31d7b078
4 changed files with 10 additions and 4 deletions
|
@ -1,7 +1,9 @@
|
|||
package com.game.desktop;
|
||||
|
||||
import com.badlogic.gdx.Files;
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
|
||||
import com.badlogic.gdx.graphics.PixmapIO;
|
||||
import com.game.Game;
|
||||
import com.game.Misc.Vars;
|
||||
|
||||
|
@ -13,5 +15,6 @@ public class DesktopLauncher {
|
|||
config.width = Vars.SCREEN_WIDTH;
|
||||
config.height = Vars.SCREEN_HEIGHT;
|
||||
config.resizable = Vars.RESIZABLE;
|
||||
config.addIcon("spritesheets/icon.jpg", Files.FileType.Internal);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue