Pygame中的Sprite类

Sprite源代码 pygame中sprite模块的Sprite类是一个简单的基类,它的源代码以下:python class Sprite(object): def __init__(self, *groups): self.__g = {} # The groups the sprite is in if groups: self.
相关文章
相关标签/搜索