Yep, that’s right, I’m writing blog posts on consecutive days now. Whatever next; Twitter?
Anyway, I’ve tapped on my keyboard a bit more and have now gotten rid of those pesky Piece and Debris classes once and for all, and fixed up some bugs that have crept in during my purging. Pieces are now defined by their behaviour components, which take their parameters from good old objects.xml. To show off how fantabulous this is, I went and added raise pieces in the shapes of crosses, lines and blocks, and had them hooked into the game in probably under a minute.
Eye candy is always nice, so here’s a screenshot of the CITS after a couple of minutes of play:

Awesome
so … is class Inheritance dead now?
Yep, all the cool kids are using composition now. Inheritance is so last week!
Nah just kidding, inheritance is still alive and kicking, it’s just that composition is easier to deal with and makes more sense in this context (game objects).
Good to hear from you anyway, Mr. Mike! Hope you’re keeping your head above the corporate water!