Class TreasureHunterB1BDI.CollectTreasureGoal

  • Enclosing class:
    TreasureHunterB1BDI

    public class TreasureHunterB1BDI.CollectTreasureGoal
    extends java.lang.Object
    A goal to collect a given treasure.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Treasure treasure
      The treasure to collect.
    • Constructor Summary

      Constructors 
      Constructor Description
      CollectTreasureGoal​(Treasure treasure)
      Create a collect treasure goal for a given treasure:
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • treasure

        protected Treasure treasure
        The treasure to collect.
    • Constructor Detail

      • CollectTreasureGoal

        public CollectTreasureGoal​(Treasure treasure)
        Create a collect treasure goal for a given treasure:
        Parameters:
        treasure - The treasure.