def draw(): # set the game font PC.setFont(gameFont) # make a white screen to initialize the framebuffer PC.setColour(255, 255, 255, 255) PC.fillRect(0, 0, screenWidth, screenHeight); # draw the player player.draw() # display the player's angle for debugging purposes PC.setColour(0, 0, 0, 255) PC.drawString(str(player.angle), 5, 25)