On 22/05/13 10:24, Busata wrote: > Sorry, made a duplicate post as I didn't know sure that it was submitted > (until I noticed that it had a delay!). > > I know that's an option, but then my entity can't have a seperate > Position component and I'd need to update both. I'd like to avoid this > (not a great issue but was curious if it would be possible...)
Well, that's up to your design. Your Entity class could derive from a Sprite so you can use the x and y properties of that class as position. Regards, Juan -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
