[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] sprite.spritecollide


Does anyone know of a way to know exactly which instance of a sprite
class from a group has collided with the single sprite, from the
sprite.spritecollide function?

It would really helpful if spritecollide could return the name of the
instance of the sprite class.