我将代码全部打上,并未运行成功
下面是显示的报错结果
pygame 2.0.3 (SDL 2.0.16, Python 3.9.7)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "E:/python/砖块.py", line 295, in <module>
catchball = Main()
File "E:/python/砖块.py", line 267, in __init__
self.rectmove()
AttributeError: 'Main' object has no attribute 'rectmove'
麻烦您帮我看一下,告诉我如何改正,可以吗