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() {
25 public int getType() {
29 public int getBlock() {
33 public String
getName() {