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

Re: [pygame] OpenGL 2D Game



> Was there a specific reason that you chose to wrap the surface class
> (using __getattr__ and getattr) rather than subclassing using
> inheritance?

Sometimes delgation is better than inheritance.

Also, I'm not sure of this, but I don't think it is possible to
subclass pygame.Surface.

Sw.