Zaktualizuj 'plant.py'
dodacie metody protection
This commit is contained in:
parent
15ebaf6423
commit
edd59c603e
4
plant.py
4
plant.py
@ -21,6 +21,10 @@ class Plant:
|
|||||||
@abstractmethod
|
@abstractmethod
|
||||||
def collect(self):
|
def collect(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
def protect(self, protection):
|
||||||
|
pass
|
||||||
|
|
||||||
#pobieramy współrzędne roślinki
|
#pobieramy współrzędne roślinki
|
||||||
def get_coordinates(self):
|
def get_coordinates(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user