Update food object representation to use one decimal place for decay value
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 30s

This commit is contained in:
Sam 2025-06-03 22:00:40 -05:00
parent fe4e15eac1
commit 330f199657

View File

@ -151,4 +151,4 @@ class FoodObject(BaseEntity):
:return: String representation.
"""
return f"FoodObject({self.position}, decay={self.decay:.0f }, decay_rate={self.decay_rate * (1 + (self.neighbors / 10))})"
return f"FoodObject({self.position}, decay={self.decay:.1f}, decay_rate={self.decay_rate * (1 + (self.neighbors / 10))})"