Changeset 931


Ignore:
Timestamp:
02/09/2011 05:19:38 PM (10 years ago)
Author:
joao.dias
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/branches/FAtiMA-Modular/AgentLauncher/src/AgentLauncher.java

    r930 r931  
    3232                AgentCore aG = initializeAgentCore(args); 
    3333                ArrayList<String> extraFiles = new ArrayList<String>(); 
    34                 String cultureFile = ConfigurationManager.getMindPath() + ConfigurationManager.getAgentProperties().get("cultureName") + ".xml";  
     34                String cultureFile = ConfigurationManager.getMindPath() + ConfigurationManager.getOptionalConfigurationValue("cultureName") + ".xml";  
    3535                 
    3636                if (!aG.getAgentLoad()) 
     
    3939                        aG.addComponent(new SocialRelationsComponent(extraFiles)); 
    4040                        aG.addComponent(new MotivationalComponent(extraFiles)); 
     41                        aG.addComponent(new ToMComponent(ConfigurationManager.getName())); 
    4142                        aG.addComponent(new CulturalDimensionsComponent(cultureFile)); 
    42                         aG.addComponent(new ToMComponent(ConfigurationManager.getName())); 
    4343                        //aG.addComponent(new AdvancedMemoryComponent()); 
    4444                } 
Note: See TracChangeset for help on using the changeset viewer.