Class Agent

    • Field Detail

      • i

        public static int i
      • agentName

        public String agentName
      • onCanv

        public boolean onCanv
        This flag is true for agents on canvas and false for agents out of the canvas.
    • Constructor Detail

      • Agent

        public Agent​(AID id)
        Constructor for any named agent to be put on the Agent Canvas
      • Agent

        public Agent​(String localName)
      • Agent

        public Agent()
        Constructor for a special agent called Other which represents every agent not present on the Agent Canvas. It is displayed in color grey when every usual agent is displayed in color red and is the first on the left.