bc2ed8f48814f8526f45833b14061811d76ad389
1 package ru
.deadsoftware
.cavecraft
.game
.objects
;
6 private int type
; // 0 - block, 1 - tool, 2 - other
10 public Item(String name
, int texture
, int type
) {
11 this(name
, texture
, type
, -1);
14 public Item(String name
, int texture
, int type
, int block
) {
16 this.texture
= texture
;
21 public int getTexture() {
24 public int getType() {
27 public int getBlock() {
30 public String
getName() {