Re: [pygame] Rect attributes question

2020-07-11 Thread Wener Castro
How can I stop receive e-mails from this list? Atenciosamente, Wener Wagner Brito Castro wenerwag...@gmail.com On Sat, Jul 11, 2020 at 9:41 PM Irv Kalb wrote: > Thanks very much. It's even simpler than I thought. > > Irv > > > On Jul 11, 2020, at 4:25 PM, Sam Bull wrote: > > > > On Sat, 20

Re: [pygame] Rect attributes question

2020-07-11 Thread Irv Kalb
Thanks very much. It's even simpler than I thought. Irv > On Jul 11, 2020, at 4:25 PM, Sam Bull wrote: > > On Sat, 2020-07-11 at 14:19 -0700, Irv Kalb wrote: >> is this implemented with a property of a rect object, so it's actually >> calling >> a method with a property decorator? This would

Re: [pygame] Rect attributes question

2020-07-11 Thread Sam Bull
On Sat, 2020-07-11 at 14:19 -0700, Irv Kalb wrote: > is this implemented with a property of a rect object, so it's actually calling > a method with a property decorator? This would seem to be the case because I > am changing just one value (left), but other values also change along with it > - not

[pygame] Rect attributes question

2020-07-11 Thread Irv Kalb
I am doing some writing about Python, and I want to make sure that what I am about to write is correct. As an example, in the following, I am creating a pygame rect, then printing the left and right attributes. >>> myRect = pygame.Rect(10, 10, 30, 30) >>> print(myRect.left, myRect.right) 10 40