Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
vadere
vadere
Commits
081b8d57
Commit
081b8d57
authored
Nov 13, 2016
by
Jakob Schöttl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactoring while searching for bug
parent
5c763675
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
VadereGui/src/org/vadere/gui/topographycreator/model/AgentWrapper.java
.../org/vadere/gui/topographycreator/model/AgentWrapper.java
+1
-1
VadereState/src/org/vadere/state/scenario/Teleporter.java
VadereState/src/org/vadere/state/scenario/Teleporter.java
+3
-2
No files found.
VadereGui/src/org/vadere/gui/topographycreator/model/AgentWrapper.java
View file @
081b8d57
...
...
@@ -22,7 +22,7 @@ import org.vadere.util.geometry.shapes.VShape;
*/
public
final
class
AgentWrapper
implements
ScenarioElement
{
/** we only need the radius from the attributes. */
private
AttributesAgent
attributes
;
private
final
AttributesAgent
attributes
;
/** the wrapped store object. */
private
Agent
store
;
...
...
VadereState/src/org/vadere/state/scenario/Teleporter.java
View file @
081b8d57
...
...
@@ -24,7 +24,7 @@ public class Teleporter implements ScenarioElement {
@Override
public
Teleporter
clone
()
{
return
new
Teleporter
(
this
.
attributes
);
return
new
Teleporter
(
attributes
);
}
@Override
...
...
@@ -37,8 +37,9 @@ public class Teleporter implements ScenarioElement {
return
-
1
;
}
@Override
public
AttributesTeleporter
getAttributes
()
{
return
this
.
attributes
;
return
attributes
;
}
@Override
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment