[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Re: sprite.spritecollide
Ok, say I have 8 instances of a class called Tableau, which is derived
from the sprite class.
These 8 instances are in a sprite group.
I have another sprite, that is of a different calss.
if the single sprite is colliding with one of the Tableaus,
colliding_with comes out to be
[<Tableau sprite(in 1 groups)>]
which is pretty cool, but i still don't know which of the 8 instances
it is...