Class Cargo

All Implemented Interfaces:
Serializable, ICarryable, InGameObject, BTObject

public class Cargo extends GroundObject
Represents a cargo object.

TODO: Rules for generic objects in TO:AR p. 90

See Also:
  • Constructor Details

    • Cargo

      public Cargo()
  • 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