My current object hierarchy is like this:
- Button (uses Image and Label by composition)
The problem is: The case of sprites including other sprites (like Button) is getting more common, and a scene is basically also a sprite containing other sprites. Would it make sense to have nothing but sprites here, and make it possible to nest them arbitrarily? Or should I keep the distinction between scene and sprite? In the latter case, how would I be able to reuse the code for drawing and forwarding input to all children of a sprite?