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.
46 lines
713 B
46 lines
713 B
10 years ago
|
package mightypork.rogue.world.item.impl.weapons;
|
||
10 years ago
|
|
||
10 years ago
|
|
||
10 years ago
|
import mightypork.rogue.Res;
|
||
|
import mightypork.rogue.world.item.ItemModel;
|
||
|
import mightypork.rogue.world.item.ItemRenderer;
|
||
10 years ago
|
import mightypork.rogue.world.item.impl.ItemBaseWeapon;
|
||
10 years ago
|
import mightypork.rogue.world.item.render.QuadItemRenderer;
|
||
|
|
||
|
|
||
10 years ago
|
public class ItemAxe extends ItemBaseWeapon {
|
||
10 years ago
|
|
||
10 years ago
|
public ItemAxe(ItemModel model)
|
||
10 years ago
|
{
|
||
10 years ago
|
super(model);
|
||
|
}
|
||
10 years ago
|
|
||
|
|
||
10 years ago
|
@Override
|
||
|
protected ItemRenderer makeRenderer()
|
||
|
{
|
||
10 years ago
|
return new QuadItemRenderer(this, Res.getTxQuad("item.axe"));
|
||
10 years ago
|
}
|
||
10 years ago
|
|
||
|
|
||
10 years ago
|
@Override
|
||
|
public int getAttackPoints()
|
||
|
{
|
||
|
return 4;
|
||
|
}
|
||
|
|
||
10 years ago
|
|
||
10 years ago
|
@Override
|
||
|
public int getMaxUses()
|
||
|
{
|
||
10 years ago
|
return 70;
|
||
10 years ago
|
}
|
||
|
|
||
10 years ago
|
|
||
10 years ago
|
@Override
|
||
|
public String getVisualName()
|
||
|
{
|
||
10 years ago
|
return "Axe";
|
||
10 years ago
|
}
|
||
10 years ago
|
}
|