corrected tractor class, write methods

This commit is contained in:
Milosz Rolewski 2023-03-19 19:56:45 +01:00
parent fcebf4bf42
commit 600fbcebf2

12
src/tractor.py Normal file
View File

@ -0,0 +1,12 @@
from pygame.sprite import Sprite
class Plant(Sprite):
def __init__(self,engine,transmission,pos_x,pos_y):
super.__init__()
self.engine=engine
self.transmission=transmission
self.pos_x=pos_x
self.pos_y=pos_y
self.fuel=100