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

Re: [pygame] How to subclass from Surface?



Alexander Stante wrote:
So my simple quenstion is, how can I subclass Surface? :-)

I tried it on a Linux (Debian sarge) box with python 2.3.4 and pygame 1.6.2 and on a Windows XP box.
Sorry to answer on my own post, but I just got help in irc about that.

I learned that pygame 1.6-2 != 1.6.2 and in pygame 1.6.2 you can subclass *and* you can override existing methods.