diff --git a/Tractor.py b/Tractor.py index 70d248a..8f31ad2 100644 --- a/Tractor.py +++ b/Tractor.py @@ -1,4 +1,6 @@ class Tractor: - def __init__(self, horizontal_index, vertical_index): + def __init__(self, horizontal_index, vertical_index, hitch, fuel_tank): self.horizontal_index = horizontal_index - self.vertical_index = vertical_index \ No newline at end of file + self.vertical_index = vertical_index + self.hitch = hitch + self.fuel_tank = fuel_tank diff --git a/main.py b/main.py index d6e7dd5..40964b2 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ vertical_change = 0 board = Board.generate() -tractor = Tractor(horizontal_index=0, vertical_index=0) +tractor = Tractor(horizontal_index=0, vertical_index=0, hitch="nothing", fuel_tank=100) clock = pygame.time.Clock()