Последняя правка
This commit is contained in:
parent
fba2fe80be
commit
53693d9d08
@ -59,7 +59,6 @@ public class DrawningAirCraft {
|
|||||||
Random random = new Random();
|
Random random = new Random();
|
||||||
int[] countengine = {2, 4, 6};
|
int[] countengine = {2, 4, 6};
|
||||||
int engineCount = countengine[random.nextInt(countengine.length)];
|
int engineCount = countengine[random.nextInt(countengine.length)];
|
||||||
System.out.print(engineCount);
|
|
||||||
drawEngine.setNumber(engineCount);
|
drawEngine.setNumber(engineCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user