You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
557 B
42 lines
557 B
10 years ago
|
package mightypork.rogue.world.item;
|
||
|
|
||
|
|
||
|
import mightypork.rogue.world.Entity;
|
||
|
import mightypork.util.constraints.rect.proxy.RectBound;
|
||
|
|
||
|
|
||
|
public final class Item extends Entity<ItemData, ItemModel, RectBound> {
|
||
|
|
||
|
public static final short ION_MARK = 701;
|
||
|
|
||
|
|
||
|
public Item() {
|
||
|
super();
|
||
|
}
|
||
|
|
||
|
|
||
|
public Item(ItemModel model) {
|
||
|
super(model);
|
||
|
}
|
||
|
|
||
|
|
||
|
public Item(int id) {
|
||
|
super(Items.get(id));
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
protected ItemModel getModelForId(int id)
|
||
|
{
|
||
|
return Items.get(id);
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
public short getIonMark()
|
||
|
{
|
||
|
return ION_MARK;
|
||
|
}
|
||
|
|
||
|
}
|