On Sat, Dec 20, 2008 at 12:23, René Dudfield
<renesd@xxxxxxxxx> wrote:
Nice one :)
The only thing I'd change is with the mouse handling using the mouse
event attributes rather than call the functions :)
event.pos and event.button That will make the code a tiny bit more
reliable, since the functions could be different.
cheers,
Thanks, I was looking for that!
Are there constants to compare event.button against ? I see it returns 1 for left button, but I'd expect some kind of standard Pygame constant I could compare this to.
(Such information is quite hard to find in Pygame's docs)
Eli