1 package ru
.deadsoftware
.cavedroid
.game
.objects
;
3 import com
.badlogic
.gdx
.graphics
.g2d
.Sprite
;
7 private String name
, type
;
10 public Item(String name
, String type
, Sprite tex
) {
14 if (this.tex
!= null) this.tex
.flip(false, true);
17 public Sprite
getTex() {
21 public String
getType() {
25 public boolean isBlock() {
26 return type
.equals("block");
29 public String
getName() {