I've whipped up a class called Entity that serves to contain shapes and other entities. It manages it's own attributes, such as rotation, shear, scale, etc... and can "recursively" draw to the screen in a layered manner similar to how Flash might.
I did a simple test where there's only two entities.
- The first entity only contains a red shape
- The second entity contains a hollow box, the first entity, and a green shape
No comments:
Post a Comment