geode/loader/include/Geode/ui/SceneManager.hpp
HJfod cdaa8ad6dc add all UI-related stuff from API, including index, nodes, actual ui,
resources, md4c; and fix up some minor formatting issues
2022-08-01 18:18:03 +03:00

22 lines
448 B
C++

#pragma once
#include <Geode/Geode.hpp>
namespace geode {
class GEODE_DLL SceneManager {
protected:
cocos2d::CCArray* m_persistedNodes;
bool setup();
virtual ~SceneManager();
public:
static SceneManager* get();
void keepAcrossScenes(cocos2d::CCNode* node);
void forget(cocos2d::CCNode* node);
void willSwitchToScene(cocos2d::CCScene* scene);
};
}