Class RichAgent


  • public class RichAgent
    extends java.lang.Object
    • Field Detail

      • target

        protected int target
        The target amount of money.
      • money

        protected int money
        The money.
    • Constructor Detail

      • RichAgent

        public RichAgent()
    • Method Detail

      • body

        public void body()
      • distributeWork

        public void distributeWork​(IPlan plan)
      • incMoney

        protected void incMoney()
      • printRich

        public void printRich​(IGoal goal)