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



/** /**
* *
* @author le
* @author Schuhmann
*/ */
public class Wuerfel implements Runnable // Callable public class Wuerfel implements Runnable // Callable
{ {
} }
} }


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

Loading…
Cancel
Save