DEADSOFTWARE

Minor enhancements
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / Assets.java
index b24356fb6686593613a39f17e2d532b1a0cdd3f7..3764a587345a0b5979a21e93730eeed5d2db8298 100644 (file)
@@ -3,6 +3,7 @@ package ru.deadsoftware.cavecraft;
 import com.badlogic.gdx.Gdx;
 import com.badlogic.gdx.graphics.Texture;
 import com.badlogic.gdx.graphics.g2d.Animation;
+import com.badlogic.gdx.graphics.g2d.BitmapFont;
 import com.badlogic.gdx.graphics.g2d.Sprite;
 import com.badlogic.gdx.graphics.g2d.TextureRegion;
 
@@ -10,6 +11,8 @@ public class Assets {
 
     public static final int BLOCK_TEXTURES = 3;
 
+    public static BitmapFont minecraftFont;
+
     public static Texture charTexture;
     public static Sprite[][] playerSkin = new Sprite[2][4];
 
@@ -29,6 +32,7 @@ public class Assets {
     public static TextureRegion touchSpace;
 
     public static void load() {
+        minecraftFont = new BitmapFont(Gdx.files.internal("font.fnt"), true);
         charTexture = new Texture(Gdx.files.internal("mobs/char.png"));
         //LOOK TO LEFT
         //head