How to check if a variable contains a rect in Pygame?

后端 未结 0 849
眼角桃花
眼角桃花 2021-01-04 03:59

So if I add a rect to a variable like so

box = pygame.Rect(x, y, w, h)

How do I check if the variable rect holds a Rect? Ideally it would ret

相关标签:
回答
  • 消灭零回复
提交回复
热议问题