DEADSOFTWARE

Add items
[cavedroid.git] / core / src / ru / deadsoftware / cavecraft / game / objects / Item.java
1 package ru.deadsoftware.cavecraft.game.objects;
3 public class Item {
5 private int texture, type;
6 private int block;
7 private String name;
9 public Item(String name, int texture, int type, int block) {
10 this.name = name;
11 this.texture = texture;
12 this.type = type;
13 this.block = block;
14 }
16 public int getTexture() {
17 return texture;
18 }
19 public int getType() {
20 return type;
21 }
22 public int getBlock() {
23 return block;
24 }
25 public String getName() {
26 return name;
27 }
29 }