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
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 30s
This commit is contained in:
parent
fe4e15eac1
commit
330f199657
@ -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))})"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user