Makes NPC look for and pick up items of specified types. Adds a Backpack and IContainer interface. Lets items use separate sounds. Not completed.
20 lines
382 B
Java
20 lines
382 B
Java
package inf101.v18.rogue101.items;
|
|
|
|
import inf101.v18.rogue101.objects.IItem;
|
|
|
|
public interface IWeapon extends IItem {
|
|
/**
|
|
* Retrieves the damage points of a weapon.
|
|
*
|
|
* @return
|
|
*/
|
|
int getWeaponDamage();
|
|
|
|
/**
|
|
* Retrieves the string path of the sound to play upon an attack.
|
|
*
|
|
* @return A string path
|
|
*/
|
|
String getSound();
|
|
}
|