Package megamek.client.ui.widget.mapset
Class ArmlessMekMapSet
java.lang.Object
megamek.client.ui.widget.mapset.ArmlessMekMapSet
- All Implemented Interfaces:
DisplayMapSet
@Deprecated(since="0.50.06",
forRemoval=true)
public class ArmlessMekMapSet
extends Object
implements DisplayMapSet
Deprecated, for removal: This API element is subject to removal in a future version.
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.
Very cumbersome class that handles set of polygonal areas and labels for PicMap component to represent single mek
unit in MekDisplay
-
Constructor Summary
ConstructorsConstructorDescriptionArmlessMekMapSet(JComponent jComponent, LocationSelectListener locationSelectListener) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.voidsetCriticalLocations(Set<Integer> criticalLocations) Deprecated, for removal: This API element is subject to removal in a future version.Stripes the given locations to show that they have taken a critical hit.voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
ArmlessMekMapSet
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getContentGroup
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getContentGroupin interfaceDisplayMapSet
-
getBackgroundDrawers
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getBackgroundDrawersin interfaceDisplayMapSet
-
setEntity
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setEntityin interfaceDisplayMapSet
-
setCriticalLocations
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DisplayMapSetStripes the given locations to show that they have taken a critical hit. The locations are colored by how damaged they are, so a critical hit is striped over that color rather than replacing it, and both can be read at once. Called afterDisplayMapSet.setEntity(megamek.common.units.Entity), which is what applies the damage colors.Unit types whose diagram has no per-location areas do nothing, so a caller can offer this for every unit.
- Specified by:
setCriticalLocationsin interfaceDisplayMapSet- Parameters:
criticalLocations- the locations that have taken a critical hit
-