pygame icon indicating copy to clipboard operation
pygame copied to clipboard

Support collide_mask as collided argument in spritecollide

Open ZeroWave022 opened this issue 2 years ago • 0 comments

This PR attempts to fix #4089 by making the type of the collided argument of pygame.sprite.spritecollide and pygame.sprite.spritecollideany more strict/precise. It also adds the pygame.sprite.collide_mask return type as one of the possible return types besides a boolean.

ZeroWave022 avatar Nov 13 '23 21:11 ZeroWave022