This commit is contained in:
2023-11-27 12:18:16 +01:00
parent 1aaabfe73e
commit 4705e399f9
+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()));