IntelligentTractor/src/Road.py

9 lines
196 B
Python

from pygame.sprite import Sprite
class Road(Sprite):
def __init__(self,x,y):
super().__init__()
self.x=x
self.y=y
self.type='Road'
self.cost=200