Compare commits
3 Commits
c432bf98b7
...
a5fe686016
Author | SHA1 | Date | |
---|---|---|---|
|
a5fe686016 | ||
|
916ebee85d | ||
|
7924f3a68e |
@ -21,7 +21,8 @@ public class Constructor<T extends EntityAirCraft, U extends IDrawEngine> {
|
|||||||
|
|
||||||
public DrawningAirCraft getRandomAirCraft() {
|
public DrawningAirCraft getRandomAirCraft() {
|
||||||
Random rnd = new Random();
|
Random rnd = new Random();
|
||||||
int entityIndex = rnd.nextInt(0, 2);
|
|
||||||
|
int entityIndex = rnd.nextInt(0, 3);
|
||||||
int engineIndex = rnd.nextInt(0, 3);
|
int engineIndex = rnd.nextInt(0, 3);
|
||||||
|
|
||||||
T entity = entitiesList.get(entityIndex);
|
T entity = entitiesList.get(entityIndex);
|
||||||
|
Loading…
Reference in New Issue
Block a user