Commit 8de07160 authored by Mario Teixeira Parente's avatar Mario Teixeira Parente
Browse files

Adjust documentation to renaming of addValue to setValue

parent c13aceec
...@@ -112,7 +112,7 @@ protected abstract void doUpdate(final SimulationState state) { ...@@ -112,7 +112,7 @@ protected abstract void doUpdate(final SimulationState state) {
int timeStep = state.getStep(); int timeStep = state.getStep();
int amountPeds = state.getTopography().getElements(Pedestrian.class).size(); int amountPeds = state.getTopography().getElements(Pedestrian.class).size();
this.addValue(new TimestepDataKey(timeStep), amountPeds); this.setValue(new TimestepDataKey(timeStep), amountPeds);
} }
``` ```
......
Supports Markdown
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