java.lang.Object
knowledge.Knowledge
eu.su.mas.dedale.mas.agents.observerAgent.TreasureK
All Implemented Interfaces:
Serializable

public class TreasureK extends knowledge.Knowledge
Knowledge component corresponding to the treasure ability. At each time steps, it contains the agent current resources
Author:
hc
See Also:
  • Constructor Details

  • Method Details

    • update

      public void update(jade.core.Agent ag)
      Specified by:
      update in class knowledge.Knowledge
    • updateK

      public void updateK(jade.lang.acl.ACLMessage msg)
      Specified by:
      updateK in class knowledge.Knowledge
    • getPublicData

      public knowledge.Knowledge getPublicData(jade.core.Agent ag)
      Specified by:
      getPublicData in class knowledge.Knowledge
    • toString

      public String toString()
      Specified by:
      toString in class knowledge.Knowledge
    • getAgentName

      public String getAgentName()
    • getAgentDiamondValue

      public Integer getAgentDiamondValue()
    • getAgentGoldVaue

      public Integer getAgentGoldVaue()