Package megamek.common.units
package megamek.common.units
-
ClassDescriptionAbstractBuildingEntity represents a non-terrain building (e.g., a moving fortress).Implemented by units whose players can switch heat sinks off and back on (the activation/deactivation rules).Taharqa's attempt at creating an Aerospace entityAeroSpaceFighter subclass of Aero that encapsulates Fighter functionalityStateless rules for leaving a VTOL or WiGE that has not landed (TW p.225, Dismounting From VTOLs, as replaced by errata v12.0).The questions about automatic ejection that the deployment warning, the dialog that goes with it and the server all have to answer the same way.Helper methods for constructing/changing Battle Armor units.This interface represents any physical object that can find itself on the battlefield, including units of any sort (Entity, AlphaStrikeElement, BF Unit, SBF Formation), but also objective markers, carryable objects, noncombatants, buildings.This class represents a single, possibly multi-hex building on the board.Implementation of TO:AR's Advanced Buildings.This class represents a single, targetable hex of a building.BuildingTerrain represents a stationary building placed on the board.Static helpers for bulldozer (TacOps) rules that would otherwise add logic to large server classes.Represents a Combat Vehicle Escape Pod (CVEP) that has been launched from a combat vehicle.Helper methods for constructing/changing units, including adding, moving and removing equipment.This class represents Conventional Infantry.One unit being loaded into, or unloaded from, a grounded Small Craft or DropShip by its cranes (TW p.90-91).Whether the cranes are putting a unit aboard or taking it off.The crane loading and unloading work in progress for one grounded Small Craft or DropShip (TW p.90-91).Stateless rules for loading and unloading units with the cranes of a grounded Small Craft or DropShip (TW p.90-91).Health status, skills, and miscellanea for an Entity crew.The optional rule that lets a crew wear something of their own, so that what they are wearing still matters once they are outside their unit.The half of the crew personal equipment rule that covers what a crew carries in hand.Contains data used by crew to determine how many distinct crew members to track for name, damage, and skills, and which crew normally execute which roles.Writes a
DamageEditSpeconto a unit.The damage editor's edits as plain values, detached from the dialog that collected them.This interface is implemented by those units (by InGameObjects) that can be deployed either offboard or on a board.Static helpers for the Directional Torso Mount quirk (BMM p.83).Implements internal bays for dropships used by primitive jumpships.This class describes a vehicle crew that has abandoned its vehicle and now functions as a rifle foot platoon of equal size.Entity is a master class for basically anything on the board except terrain.A type of game turn that allows only certain types of units to move.Tracks fluff details for entities.This class provides static methods to save a list ofEntitys to, and load a list ofEntitys from a file.This enum represents the various Entity Movement TypesThis interface represents Entity Movement TypesImplementing classes perform a test to determine if anEntitymeets the selection criteria.Class containing static functions that perform visibility computations related to an entity without the need to be a part of the Entity class itself.weight class limits and namesThe Environmental Sealing rules, expressed as plain questions about a unit, TM p.216 and TO:AUE p.115.Fighter squadrons are basically "containers" for a bunch of fighters.Force Generator availability declared inside a unit file (.mtf or .blk).Shared vehicle-style fieldworks behaviour for units that build a fortified hex over several turns with a bulldozer, backhoe or equivalent (Vehicles and Fieldworks, TO:AUE p.153, Corrected Sixth Printing).Tracks whether a unit performing multi-turn fieldwork - digging in (TO:AR p.106) or raising a fortified hex as Trench/Fieldworks Engineers (TO:AUE p.153) - has been damaged between turns.Itemized record of how a unit's heat was built up and dissipated during a single turn, used to give the Heat Phase report (report 5035) a hover/click breakdown of its "gains N heat" and "sinks N heat" values.One labelled heat-buildup contribution: how many times the source applied heat this turn (e.g.Methods shared by Aero and LandAirMekCommon interface for all entities capable of carrying bombs and making bomb attacks, including Aero, LandAirMek, and VTOL.This class represents a single, possibly multi-hex building on the board.The flat gunnery and piloting bonuses a warrior's implants give the unit they are in, summed for display.One implant's share of the total.This is a superclass for infantry unit types, Conventional Infantry and BattleArmor.Represents a volume of space set aside for carrying troops and their equipment under battle conditions.Stats for beast mounted infantry units.Classes that implement this interface have the ability to load, carry, drop, and unload Infantry units in the game.Crew class for LAMs which tracks separate skills for 'Mek and Fighter modes, and chooses the correct one based on the LAM's current movement mode.This is a large support vehiclePer-unit state for the Magnetic Pulse (MP, TO:AUE p.182) and Improved Magnetic Pulse (iATM IMP) missile effects.You know what Meks are, silly.Helper methods for constructing/changing Mek units.This class acts as a superclass to BipedMek and TripodMek to unify code that is shared between them, most of it arm-related as both have two arms while QuadMeks have none.Not Implemented
Implementation of TO:AUE's Mobile Structures.Standard naval repair facilities for space stations (jumpships and warships can also carry a single facility).This class contains helper methods for Special Pilot Abilities.The amount of space taken up by an infantry unit in a transport bay differs from the space in an infantry compartment (used in APCs) due to quarters, equipment storage, and maintenance equipment.ProtoMeks.Quad Mek that can convert into either tracked or wheeled vehicle mode.Stateless rules for the Recon Camera (TO:AUE p.150, as corrected by the errata of 2013).Reinforced naval repair facility allows ship to expend thrust with docked unit.Shared multi-turn rubble-clearing state for units that can clear a rubble hex with a bulldozer or backhoe (TacOps).This is a support vehicleThis is a support vehicle VTOLYou know what tanks are, silly.A gamemaster-set temporary change to a crew's effective skills: a delta to gunnery, a delta to piloting, and a delta to the unit's individual initiative roll, each with a duration of its own, counting down in rounds or permanent.Represents a single type of terrain or condition in a hex.Stateless helper that lays a tractor's trailers out along a path of hexes.Where a single trailer ends up.A simple class to specify a location and facing for a unit.Provides a means to track unit names for collisions.A type of game turn that allows only entities belonging to certain units to move.Unit roles as defined by Alpha Strike Companion, used in formation building rules in ASC and Campaign OperationsThis class is a record of pair of a (InGameObject) unit and a (Targetable) target.weight class limits and names