Thanks! I have properties in there, they're below the get/set methods. This was a quick demo, so I used PyDev's auto naming, and forgot to privatize them. But yes, there's properties in there =)
On Dec 19, 10:23 pm, Jake b <[email protected]> wrote: > There's a property() decorator as of python2.6 > :http://docs.python.org/library/functions.html#property > > On Sun, Dec 4, 2011 at 10:58 AM, Joe Cross <[email protected]> wrote: > > Hello, > > > Much simpler demo here. > > >https://github.com/numberoverzero/BatchDrawExample > > > Simply import Example and click around. > > > Main runs the window and update, and Shape takes care of rectangle > > updating. > > The reason for getters/setters on each variable is so that when they > > change, verts are updated correctly. > > > -- > > Jake -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
