pygame.locals
pygame constants

该模块包含由pyGame使用的各种常量。它的内容自动放置在pyGame模块命名空间中。但是,应用程序可以使用 pygame.locals 属性仅包含pyGame常量 from pygame.locals import *

各种常量的详细描述可以在pyGame文档中找到。以下是他们中的一些人的位置。




Edit on GitHub