changes for temp render

This commit is contained in:
Niclas3006
2026-05-10 05:02:33 +02:00
parent 545f7bf454
commit fbfc2c7ed3
4 changed files with 61 additions and 21 deletions
+6
View File
@@ -295,6 +295,12 @@ class GarageManager:
for x in self.currentFillLevel.keys():
self.currentFillLevel[x]=0
def get_garage_at_location(self, location:Point):
for x in self.garages:
if x.get_location() == location.get_location():
return (True,x)
return (False, Point(-100,-100))
def is_full(self, garage:Point):
garage_found = False
current_garage:Garage