X-Git-Url: https://deadsoftware.ru/gitweb?p=cavedroid.git;a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavedroid%2Fmisc%2FAssets.java;h=e2abcdfd61ceb82dfe547dfeffe9a23243f396d0;hp=778a44d78fcae10d20957c173edd5946a28d8a6a;hb=ef32f2e88b9c0daa411d0c304ce62b1235541fb1;hpb=562b0e19a771974bb596db6815dce1a01a761ce5 diff --git a/core/src/ru/deadsoftware/cavedroid/misc/Assets.java b/core/src/ru/deadsoftware/cavedroid/misc/Assets.java index 778a44d..e2abcdf 100644 --- a/core/src/ru/deadsoftware/cavedroid/misc/Assets.java +++ b/core/src/ru/deadsoftware/cavedroid/misc/Assets.java @@ -15,18 +15,18 @@ import java.util.HashMap; public class Assets { - public static JsonReader jsonReader = new JsonReader(); + public static final JsonReader jsonReader = new JsonReader(); - private static GlyphLayout glyphLayout = new GlyphLayout(); + private static final GlyphLayout glyphLayout = new GlyphLayout(); static BitmapFont minecraftFont; - public static Sprite[][] playerSprite = new Sprite[2][4]; - public static Sprite[][] pigSprite = new Sprite[2][2]; + public static final Sprite[][] playerSprite = new Sprite[2][4]; + public static final Sprite[][] pigSprite = new Sprite[2][2]; public static Sprite fallingSandSprite; public static Sprite fallingGravelSprite; - public static HashMap textureRegions = new HashMap<>(); - public static ArrayMap guiMap = new ArrayMap<>(); + public static final HashMap textureRegions = new HashMap<>(); + public static final ArrayMap guiMap = new ArrayMap<>(); private static TextureRegion flippedRegion(Texture texture, int x, int y, int width, int height) { return new TextureRegion(texture, x, y + height, width, -height);