X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavedroid%2Fgame%2FGameItems.java;h=eeeeb115da03fad2112abe5b96682373251d083f;hb=127dbffee03093baee8c11a4e7e152aee0bf5343;hp=079f4855d88465aebea7b60091b06e773d3ac328;hpb=28d6d78dbd87e28884700bf60d02e554755ae254;p=cavedroid.git diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameItems.java b/core/src/ru/deadsoftware/cavedroid/game/GameItems.java index 079f485..eeeeb11 100644 --- a/core/src/ru/deadsoftware/cavedroid/game/GameItems.java +++ b/core/src/ru/deadsoftware/cavedroid/game/GameItems.java @@ -144,6 +144,7 @@ public class GameItems { boolean animated = Assets.getBooleanFromJson(block, "animated", false); int frames = Assets.getIntFromJson(block, "frames", 0); int id = Assets.getIntFromJson(block, "id", count); + String fullBlock = Assets.getStringFromJson(block, "full_block", null); blocksIds.put(key, id); if (count >= id) { @@ -171,7 +172,8 @@ public class GameItems { clipX, clipY, clipWidth, - clipHeight + clipHeight, + fullBlock ); blocksSet.add(newBlock); } catch (GdxRuntimeException e) {