From 916ebee85d3889428a756765c688ad14c092943d Mon Sep 17 00:00:00 2001 From: artur-kalimullin <144933634+artur-kalimullin@users.noreply.github.com> Date: Sun, 16 Jun 2024 13:48:57 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D1=81=D0=BB=D0=B5=D0=B4=D0=BD?= =?UTF-8?q?=D1=8F=D1=8F=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectAirFighter/src/CollectionGenericObjects/Constructor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ProjectAirFighter/src/CollectionGenericObjects/Constructor.java b/ProjectAirFighter/src/CollectionGenericObjects/Constructor.java index a60ef3f..f8bbd80 100644 --- a/ProjectAirFighter/src/CollectionGenericObjects/Constructor.java +++ b/ProjectAirFighter/src/CollectionGenericObjects/Constructor.java @@ -21,6 +21,7 @@ public class Constructor { public DrawningAirCraft getRandomAirCraft() { Random rnd = new Random(); + int entityIndex = rnd.nextInt(0, 3); int engineIndex = rnd.nextInt(0, 3);