Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
5b83072a
Commit
5b83072a
authored
Oct 30, 2019
by
Benedikt Kleinmeier
Browse files
In "Bang", added new attribute "loudness"
parent
7ec93995
Changes
1
Hide whitespace changes
Inline
Side-by-side
VadereState/src/org/vadere/state/psychology/perception/types/Bang.java
View file @
5b83072a
...
...
@@ -10,6 +10,7 @@ public class Bang extends Stimulus {
// Member Variables
private
int
originAsTargetId
=
-
1
;
private
double
loudness
=
1
;
// Constructors
// Default constructor required for JSON de-/serialization.
...
...
@@ -27,8 +28,10 @@ public class Bang extends Stimulus {
// Getter
public
int
getOriginAsTargetId
()
{
return
originAsTargetId
;
}
public
double
getLoudness
()
{
return
loudness
;
}
// Setter
public
void
setOriginAsTargetId
(
int
originAsTargetId
)
{
this
.
originAsTargetId
=
originAsTargetId
;
}
public
void
setLoudness
(
double
loudness
)
{
this
.
loudness
=
loudness
;
}
}
Write
Preview
Supports
Markdown
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