net.vee.btech.component
Interface Weapon

All Superinterfaces:
Component
All Known Subinterfaces:
AmmunitionWeapon
All Known Implementing Classes:
AbstractWeapon

public interface Weapon
extends Component

A component designed to deal damage to an object.


Field Summary
static int ARTILLERY
           
static int AUTOCANNON
           
static int LASER
           
static int MACHINE_GUN
           
static int MISSILE
           
static int PARTICLE_CANNON
           
 
Fields inherited from interface net.vee.btech.component.Component
AMMUNITION_BAY, COCKPIT, ENGINE, GYRO, HEAT_SINK, JUMP_JET, LIFE_SUPPORT, SENSORS, WEAPON
 
Method Summary
 int getDamage()
           
 int getLongRange()
           
 int getMediumRange()
           
 int getMinimumRange()
           
 int getShortRange()
           
 int getWeaponType()
           
 
Methods inherited from interface net.vee.btech.component.Component
getComponentType, getHeat, getMass, getSize, getType, isDamaged, isDestroyed
 

Field Detail

LASER

public static final int LASER

PARTICLE_CANNON

public static final int PARTICLE_CANNON

MISSILE

public static final int MISSILE

AUTOCANNON

public static final int AUTOCANNON

MACHINE_GUN

public static final int MACHINE_GUN

ARTILLERY

public static final int ARTILLERY
Method Detail

getWeaponType

public int getWeaponType()

getDamage

public int getDamage()

getShortRange

public int getShortRange()

getMediumRange

public int getMediumRange()

getLongRange

public int getLongRange()

getMinimumRange

public int getMinimumRange()