v0.3.4: externalized item actions

This commit is contained in:
Evan Debenham
2016-01-22 22:12:02 -05:00
committed by Evan Debenham
parent 7757b47573
commit 13b9d2f801
17 changed files with 68 additions and 77 deletions
@@ -51,9 +51,6 @@ abstract public class MissileWeapon extends Weapon {
public ArrayList<String> actions( Hero hero ) {
ArrayList<String> actions = super.actions( hero );
actions.remove( AC_EQUIP );
if (!isEquipped( hero )) {
actions.remove( AC_UNEQUIP );
}
return actions;
}