Compare commits

..

No commits in common. "bce07db40e737ea1e38921cbc1c99ad787591d68" and "22406420c217432d6df05b19c1400cb19eee1915" have entirely different histories.

2 changed files with 4 additions and 2 deletions

View File

@ -315,10 +315,10 @@ class DefaultCell(BaseEntity):
duplicate_y_2 += random.randint(-self.max_visual_width, self.max_visual_width) duplicate_y_2 += random.randint(-self.max_visual_width, self.max_visual_width)
new_cell = DefaultCell(Position(x=int(duplicate_x), y=int(duplicate_y)), Rotation(angle=random.randint(0, 359))) new_cell = DefaultCell(Position(x=int(duplicate_x), y=int(duplicate_y)), Rotation(angle=random.randint(0, 359)))
new_cell.set_brain(self.behavioral_model.mutate(0.05)) new_cell.set_brain(self.behavioral_model.mutate(0.025))
new_cell_2 = DefaultCell(Position(x=int(duplicate_x_2), y=int(duplicate_y_2)), Rotation(angle=random.randint(0, 359))) new_cell_2 = DefaultCell(Position(x=int(duplicate_x_2), y=int(duplicate_y_2)), Rotation(angle=random.randint(0, 359)))
new_cell_2.set_brain(self.behavioral_model.mutate(0.05)) new_cell_2.set_brain(self.behavioral_model.mutate(0.025))
return [new_cell, new_cell_2] return [new_cell, new_cell_2]

View File

@ -162,6 +162,8 @@ class World:
""" """
Advances all objects in the world by one tick, updating their state and handling interactions. Advances all objects in the world by one tick, updating their state and handling interactions.
""" """
print("Ticking all objects in the world")
next_buffer: int = 1 - self.current_buffer next_buffer: int = 1 - self.current_buffer
self.buffers[next_buffer].clear() self.buffers[next_buffer].clear()