Commit ebecfbdb authored by Christina's avatar Christina
Browse files

clean code

parent 00c65bac
Pipeline #624704 passed with stages
in 151 minutes and 19 seconds
......@@ -247,7 +247,6 @@ public class SimulationCommandHandler extends CommandHandler<SimulationVar> {
ReactionModel reactionModel = new ReactionModel();
double simTimeStepLength = state.getScenarioStore().getAttributesSimulation().getSimTimeStepLength();
IControlModel controlModel = ControlModelBuilder.getModel(model_name);
controlModel.init(topography, stimulusController, isUsePsychologyLayer, reactionModel, simTimeStepLength);
iControlModelHashMap.put(model_name, controlModel);
......
......@@ -39,9 +39,7 @@ public class PsychologyStatus {
}
// Getter
public Stimulus getMostImportantStimulus() {
return mostImportantStimulus;
}
public Stimulus getMostImportantStimulus() { return mostImportantStimulus; }
public ThreatMemory getThreatMemory() { return threatMemory; }
public SelfCategory getSelfCategory() { return selfCategory; }
public GroupMembership getGroupMembership() { return groupMembership; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment