Class DummyWeapon

All Implemented Interfaces:
EquipListener, TurnListener, UseListener, WeaponImpl, Killer, Cloneable, Iterable<String>, Serializable

public class DummyWeapon extends Weapon
Weapons that can be given to creatures to adjust their rate of attack, without giving them a visible weapon. These should never be seen as actual items in the game.
  • Constructor Details

  • Method Details

    • getWeaponType

      public String getWeaponType()
      Description copied from class: Item
      Get a weapon type identifier that can be used in attack events, so that the client can draw an appropriate item image for the attack.
      Overrides:
      getWeaponType in class Item
      Returns:
      weapon identifier