Engine(int argc, char* argv[], const std::string& name,
const std::string& iconFile, const std::string& configFile);
~Engine() {}
Engine(int argc, char* argv[], const std::string& name,
const std::string& iconFile, const std::string& configFile);
~Engine() {}
- void pushLayer(LayerP layer);
- void popLayer();
- void popLayer(Layer* layer);
- void clearLayers();
+ void push(LayerP layer);
+ LayerP pop();
+ // pops a specific layer and all layers above it
+ LayerP pop(Layer* layer);
+ void clear();