logging
Class ItemLog

java.lang.Object
  extended by logging.ItemLog
All Implemented Interfaces:
java.io.Serializable

public class ItemLog
extends java.lang.Object
implements java.io.Serializable

Here we log items we have given to someone or received from someone.

See Also:
Serialized Form

Field Summary
 int agentId
          Agent we have received item from or agent we have given item to
 java.lang.String agentName
          Name of the agent
 boolean bReceived
          true if we have received the item
 double feeling
          Feeling toward the agent at the time of receiving/giving of the item
 ScenarioItemType itemType
          Type of the item
 double time
          Time we have given or received the item
 
Constructor Summary
ItemLog(ScenarioItemType itemType, int agentId, java.lang.String agentName, boolean bReceived, double feeling, double time)
          Constructor for this class.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

itemType

public ScenarioItemType itemType
Type of the item


agentId

public int agentId
Agent we have received item from or agent we have given item to


agentName

public java.lang.String agentName
Name of the agent


bReceived

public boolean bReceived
true if we have received the item


feeling

public double feeling
Feeling toward the agent at the time of receiving/giving of the item


time

public double time
Time we have given or received the item

Constructor Detail

ItemLog

public ItemLog(ScenarioItemType itemType,
               int agentId,
               java.lang.String agentName,
               boolean bReceived,
               double feeling,
               double time)
Constructor for this class.

Parameters:
itemType -
agentId -
agentName -
bReceived -
feeling -
time -