Changeset 396


Ignore:
Timestamp:
04/27/2010 03:11:57 PM (11 years ago)
Author:
joao.dias
Message:

Small changes in the Agent Creation method (removed unnecessary arguments)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/trunk/AgentMind/FAtiMA/src/FAtiMA/Agent.java

    r364 r396  
    112112        private static final Name ACTION_CONTEXT = Name.ParseName("ActionContext()"); 
    113113 
    114         public Agent(short agentPlatform, String host, int port, String saveDirectory, boolean displayMode, String name,String lActDatabase,  
    115                         String userLActDatabase, String sex, String role,  
     114        public Agent(short agentPlatform, String host, int port, String saveDirectory, boolean displayMode, String name,  
     115                        String sex, String role,  
    116116                        String displayName, String actionsFile,  
    117117                        String goalsFile, String cultureName, HashMap<String,String> properties, ArrayList<String> goalList) { 
     
    476476                //The ION Agent does not load the goals initially from the personality file, therefore we 
    477477                //must clear all the goals loaded. 
    478                 if(agentPlatform == AgentPlatform.ION){ 
    479                         _deliberativeLayer.RemoveAllGoals(); 
    480                 } 
     478                //if(agentPlatform == AgentPlatform.ION){ 
     479                //      _deliberativeLayer.RemoveAllGoals(); 
     480                //} 
    481481 
    482482                //The WorldSimulator Agent loads additional goals provided in the starting goal list 
Note: See TracChangeset for help on using the changeset viewer.