changes for temp render
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user