IntelligentTractor/tractor.py

10 lines
215 B
Python

class Tractor:
#this is where tractor spawns when program starts (center)
x=500
y=500
#it's speed -> pixels it moves after pressing arrow
speed = 10
#it's size
width = 20
height = 20