X-Git-Url: http://deadsoftware.ru/gitweb?p=cavedroid.git;a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavecraft%2Fmisc%2FAssets.java;h=e28c322d3732bb9228b6f1c2ae6c3f48a32be667;hp=14575a37ad1b41ef4b752461cace75149eef5fb4;hb=0b8922bfbb2bbec067b532ecb7912f6afe02c4ef;hpb=1cc111dfe31e7f7098e01afeaa025e19f91aa624 diff --git a/core/src/ru/deadsoftware/cavecraft/misc/Assets.java b/core/src/ru/deadsoftware/cavecraft/misc/Assets.java index 14575a3..e28c322 100644 --- a/core/src/ru/deadsoftware/cavecraft/misc/Assets.java +++ b/core/src/ru/deadsoftware/cavecraft/misc/Assets.java @@ -11,7 +11,7 @@ import ru.deadsoftware.cavecraft.CaveGame; public class Assets { public static final int BLOCK_TEXTURES = 66; - public static final int ITEM_TEXTURES = 5; + public static final int ITEM_TEXTURES = 10; private static GlyphLayout layout; @@ -41,6 +41,9 @@ public class Assets { public static TextureRegion invBarCur; public static TextureRegion guiCur; + public static Texture wreckTexture; + public static TextureRegion[] wreck = new TextureRegion[10]; + public static Texture creativeTexture; public static TextureRegion creativeInv; public static TextureRegion creativeScroll; @@ -124,6 +127,11 @@ public class Assets { creativeScroll = new TextureRegion(creativeTexture, 3, 137, 12, 15); creativeScroll.flip(false, true); + wreckTexture = new Texture(Gdx.files.internal("break.png")); + for (int i=0; i<10; i++) { + wreck[i] = new TextureRegion(wreckTexture, 16*i, 0, 16, 16); + } + if (CaveGame.TOUCH) { touchGui = new Texture(Gdx.files.internal("touch_gui.png")); for (int i = 0; i < 4; i++) {