1 package ru
.deadsoftware
.cavedroid
.game
.objects
;
3 import com
.badlogic
.gdx
.graphics
.g2d
.Sprite
;
7 private final String name
;
8 private final String type
;
9 private final Sprite tex
;
11 public Item(String name
, String type
, Sprite tex
) {
15 if (this.tex
!= null) this.tex
.flip(false, true);
18 public Sprite
getTex() {
22 public String
getType() {
26 public boolean isBlock() {
27 return type
.equals("block");
30 public String
getName() {