Class Briefcase

java.lang.Object
megamek.common.equipment.GroundObject
megamek.common.equipment.Briefcase
All Implemented Interfaces:
Serializable, ICarryable, InGameObject, BTObject

public class Briefcase extends GroundObject
Represents a basic carryable object with no additional other properties.

Briefcases use simplified logic for being picked up. It is intended to be used for objective based gameplay but without using the full depth of rules described in TO:AR.

See Also:
  • Constructor Details

    • Briefcase

      public Briefcase()
  • Method Details

    • canBePickedUp

      public boolean canBePickedUp(boolean isCarrierHullDown)
      Returns true if the carryable object is able to be picked up. Briefcases can always be picked up.
      Parameters:
      isCarrierHullDown - is the unit that's picking this up hull down, or otherwise able to pick up ground-level objects
      Returns:
      true if the object can be picked up, false if it cannot