Removed the HUD from the menu screen

This commit is contained in:
2015-09-25 05:47:20 +02:00
parent 7b47385674
commit 17f8905696
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -80,7 +80,6 @@ public:
m_FrameStack = new GUI::Frame(m_EventBroker.get());
m_FrameStack->Width = 675;
m_FrameStack->Height = 1080;
auto hud = new GUI::HUD(m_FrameStack, "HUD");
auto menu = new GUI::MainMenu(m_FrameStack, "MainMenu");
m_InputManager = std::make_shared<InputManager>(m_Renderer->Window(), m_EventBroker);
+2
View File
@@ -4,6 +4,7 @@
#include "GUI/TextureFrame.h"
#include "GUI/Button.h"
#include "Game/EGameStart.h"
#include "Game/HUD.h"
namespace dd
{
@@ -59,6 +60,7 @@ private:
Events::GameStart e;
EventBroker->Publish(e);
m_Parent->Hide();
auto hud = new GUI::HUD(BaseFrame, "HUD");
}
return true;