Working on new scene
This commit is contained in:
1 parent
beac06fd45
commit
5364b97235
16 files changed
+19356
-202
No files matched your search
+5
-4
@@ -24,7 +24,7 @@ namespace ZL {
|
||||
class MenuManager {
|
||||
protected:
|
||||
Renderer& renderer;
|
||||
|
||||
/*
|
||||
// Pre-loaded UI roots (loaded once in setupMenu)
|
||||
std::shared_ptr<UiNode> mainMenuRoot;
|
||||
std::shared_ptr<UiNode> aboutMenuRoot;
|
||||
@@ -53,14 +53,15 @@ namespace ZL {
|
||||
void enterGameOver(int score);
|
||||
void enterHelp();
|
||||
void enterConnectionLost();
|
||||
|
||||
*/
|
||||
public:
|
||||
UiManager uiManager;
|
||||
|
||||
MenuManager(Renderer& iRenderer);
|
||||
|
||||
void setupMenu();
|
||||
//void setupMenu();
|
||||
|
||||
/*
|
||||
// Returns true for states where Space should render and run (Gameplay, GameOver, ConnectionLost)
|
||||
bool shouldRenderSpace() const;
|
||||
GameState getState() const { return state; }
|
||||
@@ -81,7 +82,7 @@ namespace ZL {
|
||||
std::function<void(const std::string&, int)> onMultiplayerPressed;
|
||||
std::function<void()> onShowPlayersPressed;
|
||||
|
||||
std::function<void()> forceSetupSpaceUICallback;
|
||||
std::function<void()> forceSetupSpaceUICallback;*/
|
||||
};
|
||||
|
||||
} // namespace ZL
|
||||
Reference in new issue
Block a user