Ignore:
Timestamp:
02/13/2011 02:15:30 PM (10 years ago)
Author:
joao.dias
Message:
 
File:
1 edited

Legend:

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

    r957 r961  
    4848import FAtiMA.Core.exceptions.UnknownGoalException; 
    4949import FAtiMA.Core.goals.Goal; 
    50 import FAtiMA.Core.reactiveLayer.Reaction; 
    51 import FAtiMA.Core.reactiveLayer.ReactiveProcess; 
    5250import FAtiMA.Core.sensorEffector.Event; 
    5351import FAtiMA.Core.util.AgentLogger; 
     
    5755import FAtiMA.Core.wellFormedNames.Symbol; 
    5856import FAtiMA.DeliberativeComponent.DeliberativeComponent; 
     57import FAtiMA.ReactiveComponent.Reaction; 
     58import FAtiMA.ReactiveComponent.ReactiveComponent; 
    5959 
    6060 
     
    6969        private String _currentGoalKey; 
    7070         
    71         ReactiveProcess _reactiveLayer; 
     71        ReactiveComponent _reactiveComponent; 
    7272        DeliberativeComponent _deliberativeLayer; 
    7373         
     
    7979                _rituals = new ArrayList<Ritual>(); 
    8080                _self = new Substitution(new Symbol("[SELF]"), new Symbol(FAtiMA.Core.util.Constants.SELF)); 
    81                 _reactiveLayer = (ReactiveProcess) aM.getComponent(ReactiveProcess.NAME);  
     81                _reactiveComponent = (ReactiveComponent) aM.getComponent(ReactiveComponent.NAME);  
    8282                _deliberativeLayer = (DeliberativeComponent) aM.getComponent(DeliberativeComponent.NAME); 
    8383                _am = aM; 
     
    140140 
    141141                //Add the emotional reaction to the reactive layer 
    142                 _reactiveLayer.getEmotionalReactions().AddEmotionalReaction(_eventReaction); 
     142                _reactiveComponent.getEmotionalReactions().AddEmotionalReaction(_eventReaction); 
    143143        } 
    144144 
Note: See TracChangeset for help on using the changeset viewer.