Add missing function
This commit is contained in:
@@ -65,6 +65,10 @@ class World():
|
||||
self.gather.spend_resources(cost)
|
||||
|
||||
|
||||
def has_building(self, building):
|
||||
return building in self.buildings
|
||||
|
||||
|
||||
def _remove_event_at_time(self, removed_event, scheduled_time):
|
||||
if not scheduled_time:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user