Closed geraintwhite closed 10 years ago
Sorry, I didn't look to hard enough to see if this was a duplicate.
Why can't the text sprite have the all same methods? Which would not be relevent for a string?
OK, what I mean't was use a text sprite rather than an image sprite.
Yes we can just derive it from the Sprite, and add the text methods.
This commit be7da6f53e6de060bca70196b2871109dbfb4b0e is relevant, you can now have text on the screen, not quite the same as sprites as you have to control the text manually. We definitely still need to implement this issue.
b075d84f3d1281c2d8f4c339344bace1599f0684
Allow sprites to take a text class rather than an image class. Use the text class to hold a label which has the following methods: