Commit 5b83072a authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier

In "Bang", added new attribute "loudness"

parent 7ec93995
......@@ -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; }
}
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