Thursday, July 14, 2005

Class Framework, the Second


Class Diagram, v2

My research discovered an important and irritating detail of the Microsoft.DirectX.Sprite class. It's a sealed class. Why did MS choose to make this class un-inheritable? I would love to extend the class, and add my update into it. But I can't, because MS marked it sealed. Irritating. So, I'm going to use the SimpleSprite class from the book I'm reading now. I'm probably also going to use the sound manager and texture manager class from the book.

All part of my new approach: don't write everything. Use code that is out there, and available.

No comments: