Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    megamek.client.bot.princess.BehaviorSettings.setDestinationEdge(String)
    unused
    megamek.client.ui.clientGUI.boardview.sprite.EntitySprite.getPlayerColor()
    No indicated uses.
    megamek.client.ui.dialogs.phaseDisplay.ManeuverChoiceDialog(JFrame, String, String)
    question is never used, use the other constructor instead.
    megamek.client.ui.panels.phaseDisplay.lobby.LobbyUtility.sameNhC3System(Entity, Entity)
    Use C3Util.sameNhC3System(Entity, Entity) instead as it provides the same functionality.
    megamek.client.ui.panels.phaseDisplay.lobby.sorters.MekTableSorter.bigger(Sorting)
    use Sorting.getDirection() instead
    megamek.client.ui.panels.phaseDisplay.lobby.sorters.MekTableSorter.smaller(Sorting)
    use Sorting.getDirection() instead
    megamek.client.ui.util.UIUtil.TipCombo(String)
    no indicated uses.
    megamek.client.ui.util.UIUtil.TipList()
    no indicated uses.
    megamek.client.ui.util.UIUtil.TipPanel(LayoutManager)
    no indicated uses.
    megamek.client.ui.util.UIUtil.uiBlack()
    no indicated uses.
    megamek.client.ui.util.UIUtil.uiPartialRepairColor()
    no indicated uses.
    megamek.client.ui.util.UIUtil.uiTTWeaponColor()
    no indicated uses.
    megamek.client.ui.widget.ArmlessMekMapSet
    Don't use anything, this class is deprecated and will be removed in the future. There is no substitute display class for the ArmlessMekMapSet as this type of mek is no longer supported.
    megamek.common.actions.WeaponAttackAction.isDiveBomb(Game)
    no indicated uses.
    megamek.common.AmmoType.notAllowedByClanRules()
    since 0.50.06, the rules that don't allow some ammo for clan units should be based on tech access/availability, not a hardcoded list of ammo types. As soon as the tech rules for munition variations are working completely then this will be removed.
    megamek.common.moves.MoveStep.setHasEverUnloaded(boolean)
    megamek.common.TurnOrdered.rollInitAndResolveTies(List<? extends ITurnOrdered>, List<? extends ITurnOrdered>, boolean)
    use TurnOrdered.rollInitAndResolveTies(List, List, boolean, Map) instead.
    megamek.common.TurnOrdered.rollInitiative(List<? extends ITurnOrdered>, boolean)
    use TurnOrdered.rollInitiative(List, boolean, Map) instead.
    megamek.common.UnitType.determineUnitType(Entity)
    use UnitType.getTypeName(e.getUnitType()) instead
    megamek.common.UnitType.determineUnitTypeCode(Entity)
    use Entity.getUnitType() instead
    megamek.common.util.BoardUtilities.combine(int, int, int, int, List<Board>, List<Boolean>, int)
    Use the {BoardUtilities.combine(int, int, int, int, Board[], int)
    megamek.common.util.BoardUtilities.combine(int, int, int, int, Board[], List<Boolean>, int)
    Use the {BoardUtilities.combine(int, int, int, int, Board[], int)}
    megamek.common.util.BuildingTemplate(BuildingType, ArrayList<Coords>)
    Unused, will be removed in future versions. Use the other constructor
    megamek.server.commands.JoinTeamCommand
    Planned to be removed, use the GM command ChangeTeamCommand instead. References removed in 0.50.06. Remove in 0.50.07
  • Deprecated Classes
    Class
    Description
    megamek.client.ui.util.RotateFilter
    This should be removed and replaced with an AffineTransformation Filter instead.
    megamek.client.ui.widget.ArmlessMekMapSet
    Don't use anything, this class is deprecated and will be removed in the future. There is no substitute display class for the ArmlessMekMapSet as this type of mek is no longer supported.
    megamek.server.commands.JoinTeamCommand
    Planned to be removed, use the GM command ChangeTeamCommand instead. References removed in 0.50.06. Remove in 0.50.07
  • Deprecated Methods
    Method
    Description
    megamek.client.bot.princess.BehaviorSettings.setDestinationEdge(String)
    unused
    megamek.client.ui.clientGUI.boardview.sprite.EntitySprite.getPlayerColor()
    No indicated uses.
    megamek.client.ui.panels.phaseDisplay.lobby.LobbyUtility.sameNhC3System(Entity, Entity)
    Use C3Util.sameNhC3System(Entity, Entity) instead as it provides the same functionality.
    megamek.client.ui.panels.phaseDisplay.lobby.sorters.MekTableSorter.bigger(Sorting)
    use Sorting.getDirection() instead
    megamek.client.ui.panels.phaseDisplay.lobby.sorters.MekTableSorter.smaller(Sorting)
    use Sorting.getDirection() instead
    megamek.client.ui.util.UIUtil.getVirtualBounds()
    since 0.50.04 - Unknown replacement.
    megamek.client.ui.util.UIUtil.uiBlack()
    no indicated uses.
    megamek.client.ui.util.UIUtil.uiPartialRepairColor()
    no indicated uses.
    megamek.client.ui.util.UIUtil.uiTTWeaponColor()
    no indicated uses.
    megamek.common.actions.WeaponAttackAction.isDiveBomb(Game)
    no indicated uses.
    megamek.common.Aero.initializeSI(int)
    use Aero.setOSI(int) instead
    megamek.common.AmmoType.notAllowedByClanRules()
    since 0.50.06, the rules that don't allow some ammo for clan units should be based on tech access/availability, not a hardcoded list of ammo types. As soon as the tech rules for munition variations are working completely then this will be removed.
    megamek.common.Game.getGroundObjects()
    megamek.common.ITechnology.getCodeFromIOAbbr(String)
    Use getFactionFromIOAbbr instead.
    megamek.common.ITechnology.getCodeFromMMAbbr(String)
    Use getFactionFromMMAbbr instead.
    megamek.common.ITechnology.getRatingName(ITechnology.TechRating)
    Use ITechnology.TechRating.getName() instead.
    megamek.common.moves.MoveStep.setHasEverUnloaded(boolean)
    megamek.common.TurnOrdered.rollInitAndResolveTies(List<? extends ITurnOrdered>, List<? extends ITurnOrdered>, boolean)
    use TurnOrdered.rollInitAndResolveTies(List, List, boolean, Map) instead.
    megamek.common.TurnOrdered.rollInitiative(List<? extends ITurnOrdered>, boolean)
    use TurnOrdered.rollInitiative(List, boolean, Map) instead.
    megamek.common.UnitType.determineUnitType(Entity)
    use UnitType.getTypeName(e.getUnitType()) instead
    megamek.common.UnitType.determineUnitTypeCode(Entity)
    use Entity.getUnitType() instead
    megamek.common.util.BoardUtilities.combine(int, int, int, int, List<Board>, List<Boolean>, int)
    Use the {BoardUtilities.combine(int, int, int, int, Board[], int)
    megamek.common.util.BoardUtilities.combine(int, int, int, int, Board[], List<Boolean>, int)
    Use the {BoardUtilities.combine(int, int, int, int, Board[], int)}
    megamek.common.weapons.CapitalMissileBearingsOnlyHandler.convertHexTargetToEntityTarget(Vector<Report>)
    The parameter isn't used so replacing with version without the parameter.
  • Deprecated Constructors
    Constructor
    Description
    megamek.client.ui.dialogs.phaseDisplay.ManeuverChoiceDialog(JFrame, String, String)
    question is never used, use the other constructor instead.
    megamek.client.ui.util.UIUtil.TipCombo(String)
    no indicated uses.
    megamek.client.ui.util.UIUtil.TipList()
    no indicated uses.
    megamek.client.ui.util.UIUtil.TipPanel(LayoutManager)
    no indicated uses.
    megamek.common.util.BuildingTemplate(BuildingType, ArrayList<Coords>)
    Unused, will be removed in future versions. Use the other constructor