przyrost1
poprawienie plików
This commit is contained in:
parent
e86c375f9c
commit
3ddb999e3a
@ -3,8 +3,8 @@ from datetime import datetime
|
|||||||
|
|
||||||
class Carrot(Plant):
|
class Carrot(Plant):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self, name, ID):
|
||||||
super().__init__()
|
super().__init__(name, ID)
|
||||||
self._wasFertilized = False #roslina nie byla nawozona przy tworzeniu
|
self._wasFertilized = False #roslina nie byla nawozona przy tworzeniu
|
||||||
|
|
||||||
def add_soil(self, soil):
|
def add_soil(self, soil):
|
||||||
|
4
plant.py
4
plant.py
@ -1,4 +1,4 @@
|
|||||||
from abc import abc, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
|
||||||
class Plant:
|
class Plant:
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ class Plant:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __growing(self):
|
def growing(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
#pobieramy wspolrzedne roslinki
|
#pobieramy wspolrzedne roslinki
|
||||||
|
Loading…
Reference in New Issue
Block a user