pintarj/ege

game::Scene automatic reference count

Opened this issue · 0 comments

Now the game::Scene objects are always deleted when they are no more used. Optionally the programmer can explicitly say to engine to not delete them by calling method game::Scene::doNotDeleteOnExchange(). The idea is to handle all them with std::shared_ptr objects in order to make things easier, prettier and flexible.