mirror of
https://github.com/fazo96/AIrium.git
synced 2025-01-25 11:54:20 +01:00
fix some bugs
This commit is contained in:
parent
89edaf5b84
commit
19ea71a073
@ -76,7 +76,7 @@ public class World {
|
|||||||
//graveyard.sort(creatureComp);
|
//graveyard.sort(creatureComp);
|
||||||
int x = 0;
|
int x = 0;
|
||||||
for (Creature c : graveyard) {
|
for (Creature c : graveyard) {
|
||||||
c.getBrain().getMutatedCopy(5f);
|
c.getBrain().remap(c.getBrain().getMutatedMap(3f));
|
||||||
if (x < creatPerGen) {
|
if (x < creatPerGen) {
|
||||||
c.setHp(100);
|
c.setHp(100);
|
||||||
creatures.add(c);
|
creatures.add(c);
|
||||||
|
Loading…
Reference in New Issue
Block a user