diff --git a/core/src/ru/deadsoftware/cavedroid/misc/Assets.java b/core/src/ru/deadsoftware/cavedroid/misc/Assets.java
index 778a44d78fcae10d20957c173edd5946a28d8a6a..e2abcdfd61ceb82dfe547dfeffe9a23243f396d0 100644 (file)
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<String, TextureRegion> textureRegions = new HashMap<>();
- public static ArrayMap<String, Rectangle> guiMap = new ArrayMap<>();
+ public static final HashMap<String, TextureRegion> textureRegions = new HashMap<>();
+ public static final ArrayMap<String, Rectangle> 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);