upadate ui
This commit is contained in:
parent
f3b42cef6a
commit
3b44694641
@ -24,6 +24,10 @@ def drawInfo(display, tractor, tillageUnit, field, direction, weather, day_time,
|
||||
hitches = tractor.hitch
|
||||
if isinstance(tractor.hitch, TillageUnit):
|
||||
hitches = "Tillage Unit"
|
||||
if decision == [0]:
|
||||
decision = "Wait"
|
||||
else:
|
||||
decision = "Make Action"
|
||||
|
||||
text = f"(Q)Hitches: {hitches} (W)Header: {tractor.header} (R)Engine working: {tractor.engineWorking} (T)Autodrive: {tractor.autodrive} Fuel: {tractor.fuel_tank}"
|
||||
textsurface = myfont.render(text, False, (0, 0, 0))
|
||||
|
Loading…
Reference in New Issue
Block a user