I’ve got an EntityFactory class done so that now you can create any object, be it block, static entity (like the spanner, bread etc.) or animated entity (be it the player, electric fence and so on) using a string. It means I can do this:
player = (Player *)EntityFactory::getInstance()->buildEntity(“Player”);
fence = EntityFactory::getInstance()->buildEntity(“Toaster”);
Now while I realise this is absolutely overkill to re-create the original game (which is what I’m doing), this means I’m well set up for the reboot, for which this will become more important.