plant_class_added #6

Merged
s473587 merged 5 commits from plant_class_added into main 2023-03-20 13:49:22 +01:00
Showing only changes of commit 600fbcebf2 - Show all commits

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