Class CarryAgent.CarryOre

  • Enclosing class:
    CarryAgent

    public class CarryAgent.CarryOre
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ISpaceObject target
      The target.
    • Constructor Summary

      Constructors 
      Constructor Description
      CarryOre​(ISpaceObject target)
      Create a new CarryOre.
    • Constructor Detail

      • CarryOre

        public CarryOre​(ISpaceObject target)
        Create a new CarryOre.
    • Method Detail

      • checkDrop

        public boolean checkDrop()
      • getTarget

        public ISpaceObject getTarget()
        Get the target.
        Returns:
        The target.