[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] the constructor functions ?????



Pete Shinners wrote:
> 
> whew, after all that thought process, i feel the most comfortable
> with adding the "new_" prefix to these 3 constructor functions.
> most important of all i want to get this wrapped up fairly quickly,
> this is another one of those "breaking changes" which i'd rather
> get done sooner than later.
> 
> even if all you say is "i agree" or "whatever you think is best"
> i'd be glad to see some replies on this :]

rect() is definately not right, Rect() does feel more like python, 
and new_rect() sounds good too.

The caps thing could give the mistaken impression that the object is
a python class, which it is not. So new_rect() would be good.

-Ray
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org