Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
vadere
vadere
Commits
5d2cf664
Commit
5d2cf664
authored
Dec 13, 2016
by
Jakob Schöttl
Browse files
Remove old unused code
parent
db76c70e
Changes
1
Hide whitespace changes
Inline
Side-by-side
VadereGui/src/org/vadere/gui/topographycreator/model/AgentWrapper.java
View file @
5d2cf664
...
...
@@ -27,24 +27,16 @@ public final class AgentWrapper implements ScenarioElement {
/** the wrapped store object. */
private
Agent
store
;
/**
* the shape of this Pedestrian (VCircle). For refection, this attribute has to be changeable
* (not final)
*/
// private VShape shape;
AgentWrapper
(
final
VPoint
position
)
{
this
.
attributes
=
new
AttributesAgent
();
this
.
store
=
new
Pedestrian
(
this
.
attributes
,
new
Random
());
// use a Pedestrian as default
this
.
store
.
setPosition
(
position
);
this
.
store
.
setTargets
(
new
LinkedList
<
Integer
>());
// this.shape = new VCircle(store.position, attributes.getRadius());
}
public
AgentWrapper
(
final
Agent
store
)
{
this
.
attributes
=
store
.
getAttributes
();
this
.
store
=
store
.
clone
();
// this.shape = new VCircle(store.position, attributes.getRadius());
}
private
AgentWrapper
(
final
AgentWrapper
wrapper
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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