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);