|
-
[Resolved] [F9] Overriding x and y in Sprite-extending class?
I have a class that's extending the Sprite class. I was trying to create getter/setter functions for x and y, that would return/modify super.x and super.y, and do some other things - but apparantly x and y are final properties, so I can't override them.
There doesn't seem to be an event for this either, so I'm a bit stuck. Off course I could create some other properties (myX and myY for instance), but that's not very clean. Any other options?
Thanks!
Last edited by Fall_X; 07-15-2006 at 08:28 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|