forked from IF-LK-2020/arrays2
rollAll
This commit is contained in:
parent
444859323c
commit
f66878689e
|
|
@ -51,7 +51,11 @@ public class Arrays {
|
|||
* @see Wuerfel#werfen()
|
||||
*/
|
||||
public void rollAll( Wuerfel[] pArray ) {
|
||||
// TODO: implementieren
|
||||
for (Wuerfel w : pArray) {
|
||||
if (w != null) {
|
||||
w.werfen();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue