package com.jonathan.survivor.inventory;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.jonathan.survivor.Assets;
import com.jonathan.survivor.entity.Tree;
public class Rifle extends RangedWeapon
{
/** Stores the properties of the axe. */
public static final String NAME = "Rifle";
public static final String DESCRIPTION = "A weapon for the mightiest of hunters";
public static final float DAMAGE = 70;
public static final float RANGE = 15f;
public static final float CHARGE_TIME = 2.2f;
public static final String WEAPON_ATTACHMENT_NAME = "Rifle"; //Stores the name of the image placed on the player in Spine which displays the Rifle.
/** Creates an axe. */
public Rifle()
{
super(NAME, DESCRIPTION, DAMAGE, RANGE, CHARGE_TIME);
//Sets the attachment name of the axe. This is the image on the player in Spine which displays the axe.
setWeaponAttachment(WEAPON_ATTACHMENT_NAME);
}
}