简体   繁体   中英

Python/Pygame What is inherited from pygame.sprite.Sprite?

When creating a derived class, what is actually being inherited from pygame.sprite.Sprite ? It's something that doesn't need to be set up anywhere else in a class, so what is it? Are there actual methods included with it or does python/pygame just know what do with it?

在原始的pygame网站上查找它: http ://www.pygame.org/docs/ref/sprite.html#pygame.sprite.Sprite

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM