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

Re: [pygame] Rect borders



On Tue, 2005-11-29 at 07:56 -0800, Peter Shinners wrote:
> >>> r = pygame.Rect(10, 10, 20, 20)
> >>> print r.width, r.collidepoint(10, 10), r.collidepoint(20, 20)
> 10 1 0

Oops. This first line should be "r = pygame.Rect(10, 10, 10, 10)".
My mail program needs a better python interpreter!