Browse Source

Merge origin/JensV2 into JensV2

JensV2
ahren 1 year ago
parent
commit
5f5bceb3b8
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/bandit/Model/Wuerfel.java

+ 4
- 1
src/bandit/Model/Wuerfel.java View File

@@ -16,7 +16,7 @@ import java.util.Set;

/**
*
* @author le
* @author Schuhmann
*/
public class Wuerfel implements Runnable // Callable
{
@@ -104,6 +104,9 @@ public class Wuerfel implements Runnable // Callable
}
}

/**
* berechnet den Wert für jede itteration
*/
private synchronized void berechneWert()
{
data.setValue((int) (1 + 6*Math.random()));

Loading…
Cancel
Save