X-Git-Url: https://deadsoftware.ru/gitweb?p=cavedroid.git;a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavecraft%2FAssets.java;h=3764a587345a0b5979a21e93730eeed5d2db8298;hp=b24356fb6686593613a39f17e2d532b1a0cdd3f7;hb=503cd1720db3f53b7cbf7e3819968044de29a465;hpb=50082e8304a80c41dd8b1c1d80142e7c91a2d924 diff --git a/core/src/ru/deadsoftware/cavecraft/Assets.java b/core/src/ru/deadsoftware/cavecraft/Assets.java index b24356f..3764a58 100644 --- a/core/src/ru/deadsoftware/cavecraft/Assets.java +++ b/core/src/ru/deadsoftware/cavecraft/Assets.java @@ -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