X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavecraft%2FAssets.java;h=6a99f1d3a60a34fab05ad670b5caf81418193115;hb=daa549056b125bac9dec16f86204a25671916466;hp=b24356fb6686593613a39f17e2d532b1a0cdd3f7;hpb=50082e8304a80c41dd8b1c1d80142e7c91a2d924;p=cavedroid.git diff --git a/core/src/ru/deadsoftware/cavecraft/Assets.java b/core/src/ru/deadsoftware/cavecraft/Assets.java index b24356f..6a99f1d 100644 --- a/core/src/ru/deadsoftware/cavecraft/Assets.java +++ b/core/src/ru/deadsoftware/cavecraft/Assets.java @@ -3,12 +3,15 @@ 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; public class Assets { - public static final int BLOCK_TEXTURES = 3; + public static final int BLOCK_TEXTURES = 18; + + 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