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.
45 lines
579 B
45 lines
579 B
10 years ago
|
package mightypork.rogue.world.item.impl;
|
||
10 years ago
|
|
||
|
|
||
|
import mightypork.rogue.world.item.Item;
|
||
|
import mightypork.rogue.world.item.ItemModel;
|
||
|
import mightypork.rogue.world.item.ItemType;
|
||
|
|
||
|
|
||
|
public abstract class ItemBaseWeapon extends Item {
|
||
|
|
||
|
public ItemBaseWeapon(ItemModel model)
|
||
|
{
|
||
|
super(model);
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
public boolean isStackable()
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
10 years ago
|
public final int getFoodPoints()
|
||
10 years ago
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
10 years ago
|
public final ItemType getType()
|
||
10 years ago
|
{
|
||
|
return ItemType.WEAPON;
|
||
|
}
|
||
|
|
||
10 years ago
|
|
||
10 years ago
|
@Override
|
||
|
public boolean isDamageable()
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
10 years ago
|
}
|