Package megameklab.ui.util
Interface CriticalSlotsView
- All Known Implementing Classes:
ASCriticalView,BACriticalView,BMCriticalView,PMCriticalView
public interface CriticalSlotsView
Crit views implementing this interface can help the user by darkening those locations that cannot receive a
mouse-dragged equipment. This is used by transfer handlers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidmarkUnavailableLocations(int location) Darkens all other crit blocks (those that are not for the given location).voidmarkUnavailableLocations(megamek.common.equipment.Mounted<?> equipment) Darkens all crit blocks that are unavailable to the given equipment, e.g.voidResets all crit blocks to not darkened.
-
Method Details
-
unMarkAllLocations
void unMarkAllLocations()Resets all crit blocks to not darkened.