Interface IWeapon

  • All Superinterfaces:
    IAmountable, ITradable
    All Known Implementing Classes:
    EWeapon

    public interface IWeapon
    extends IAmountable, ITradable
    This interface defines a weapon.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2011 Created on Dec 23, 2011
    • Method Detail

      • getSize

        double getSize()
        Get the required storing space for this weapon.
        Returns:
        storing space in barrels
      • getStrength

        double getStrength()
        Get the strength of the weapon.
        Returns:
        weapon strength
      • getDamage

        double getDamage()
        Get the inflicted damage on a structure in case of a hit.
        Returns:
        hit damage
      • getKill

        double getKill()
        Get the kill damage in case of a hit.
        Returns:
        hit kill
      • getRange

        int getRange()
        Get the weapons range
        Returns:
        weapon range