From edd59c603e2c33143dc0c918f39279a1cd985eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Ma=C5=82yszka?= Date: Sun, 5 Apr 2020 17:49:20 +0000 Subject: [PATCH] Zaktualizuj 'plant.py' dodacie metody protection --- plant.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plant.py b/plant.py index 4cdfb3b..e37df46 100644 --- a/plant.py +++ b/plant.py @@ -21,6 +21,10 @@ class Plant: @abstractmethod def collect(self): pass + + @abstractmethod + def protect(self, protection): + pass #pobieramy współrzędne roślinki def get_coordinates(self):