DEADSOFTWARE

Add menu screen and game logo
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / Assets.java
index acdebdffafdba033f4d3f887fcf8f8ec62a9a097..427ebc66bf2efc23ea32812d36e0bb0e6a4396b2 100644 (file)
@@ -12,6 +12,8 @@ public class Assets {
 
     public static BitmapFont minecraftFont;
 
+    public static Sprite gameLogo;
+
     public static Texture charTexture;
     public static Sprite[][] playerSprite = new Sprite[2][4];
 
@@ -82,6 +84,8 @@ public class Assets {
 
     public static void load() {
         minecraftFont = new BitmapFont(Gdx.files.internal("font.fnt"), true);
+        gameLogo = new Sprite(new Texture(Gdx.files.internal("gamelogo.png")));
+        gameLogo.flip(false, true);
 
         loadPlayer();
         loadPig();