This commit is contained in:
schuhmannje82308 committed 2023-11-27 12:18:16 +01:00
1 parent 1aaabfe73e
commit 4705e399f9
1 file changed
+4 -1
+4 -1
View File
@@ -16,7 +16,7 @@ import java.util.Set;
/**
*
* @author le
* @author Schuhmann
*/
public class Wuerfel implements Runnable // Callable
{
@@ -103,6 +103,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()));