forked from Pavel/labygui
Added usefull state information to "draw_score"
This commit is contained in:
parent
0753d62e98
commit
2ede62ba9a
|
@ -129,7 +129,7 @@ def draw_path():
|
|||
|
||||
def draw_score(score):
|
||||
global canvas
|
||||
canvas.create_text(4, screen_h + 52, anchor = NW, text = 'score: %f' % score, fill = 'black')
|
||||
canvas.create_text(4, screen_h + 52, anchor = NW, text = f'score: {score}, state[7]: {state[7]}, state[6]: {state[6]}', fill = 'black')
|
||||
|
||||
def fix_angle(a):
|
||||
return a * 2 * asin(1) / pi
|
||||
|
|
Loading…
Reference in New Issue