przyrost1

poprawienie plików
This commit is contained in:
Dominik Małyszka 2020-04-07 18:17:35 +00:00
parent e86c375f9c
commit 3ddb999e3a
2 changed files with 67 additions and 67 deletions

View File

@ -3,8 +3,8 @@ from datetime import datetime
class Carrot(Plant):
def __init__(self):
super().__init__()
def __init__(self, name, ID):
super().__init__(name, ID)
self._wasFertilized = False #roslina nie byla nawozona przy tworzeniu
def add_soil(self, soil):

View File

@ -1,4 +1,4 @@
from abc import abc, abstractmethod
from abc import ABC, abstractmethod
class Plant:
@ -28,7 +28,7 @@ class Plant:
pass
@abstractmethod
def __growing(self):
def growing(self):
pass
#pobieramy wspolrzedne roslinki