megamek.common
Class FuelTank

java.lang.Object
  extended by megamek.common.Building
      extended by megamek.common.FuelTank
All Implemented Interfaces:
java.io.Serializable

public class FuelTank
extends Building

This class represents a single, possibly multi-hex fuel tank on the board.

Author:
fastsammy@sourceforge.net (Robin D. Toll)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class megamek.common.Building
Building.DemolitionCharge
 
Field Summary
 
Fields inherited from class megamek.common.Building
FORTRESS, GUN_EMPLACEMENT, HANGAR, HARDENED, HEAVY, LIGHT, MEDIUM, STANDARD, UNKNOWN, WALL
 
Constructor Summary
FuelTank(Coords coords, IBoard board, int structureType, int magnitude)
           
 
Method Summary
 int getMagnitude()
           
 
Methods inherited from class megamek.common.Building
addDemolitionCharge, equals, getAbsorbtion, getArmor, getBldgClass, getCollapsedHexCount, getCoords, getCurrentCF, getDamageFromScale, getDamageToScale, getDefaultCF, getId, getName, getOriginalHexCount, getPhaseCF, getType, hasCFIn, include, isBurning, isIn, removeHex, setArmor, setBurning, setCurrentCF, setPhaseCF, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FuelTank

public FuelTank(Coords coords,
                IBoard board,
                int structureType,
                int magnitude)
Method Detail

getMagnitude

public int getMagnitude()