Spider anzahl fixed

This commit is contained in:
Max
2021-07-01 11:02:17 +02:00
parent b85a36bf14
commit d28a29df45

View File

@@ -20,13 +20,13 @@ public class TestWorld extends World {
getCurrentMap().addAnimatedEntity(c); getCurrentMap().addAnimatedEntity(c);
} }
for (int i = 0; i < 5; i++) { for (int i = 0; i < 2; i++) {
Snake s = new Snake(); Snake s = new Snake();
s.setPosX((float) (Math.random() * 5 + 2)); s.setPosX((float) (Math.random() * 5 + 2));
getCurrentMap().addAnimatedEntity(s); getCurrentMap().addAnimatedEntity(s);
} }
for (int i = 0; i < 20; i++) { for (int i = 0; i < 3; i++) {
Spider spooda = new Spider(); Spider spooda = new Spider();
spooda.setPosX((float) (Math.random() * 5 + 2)); spooda.setPosX((float) (Math.random() * 5 + 2));
getCurrentMap().addAnimatedEntity(spooda); getCurrentMap().addAnimatedEntity(spooda);