Core* core = 0;core = new Core(factory,update);Game* game = (Game*)core->newObject(TYPE_GAME);Player* player = (Player*)core->newObject(TYPE_PLAYER);bool a = core->deleteObject(game->getID());bool b = core->deleteObject(player->getID());bool c = core->deleteObject(player->getID());std::cout << a << b << c;
Output: 110
Thats a glimpse of my core lib. Thanks to Raymond Jacobs for all his help.