Skip to content

Commit

Permalink
Last commit <3
Browse files Browse the repository at this point in the history
  • Loading branch information
almiche committed Aug 16, 2019
1 parent 5b40617 commit cec8229
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Source/EventManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ void EventManager::Update()
if (GetApplicationState() == ApplicationState::RUNNING)
AppInfoWindow::Draw(GetPlanetClickedMessage());
// Draw FPS window when done loading
if (!GetLoadingState())
AppInfoWindow::Draw(GetPlanetClickedMessage());
if (GetApplicationState() == ApplicationState::RUNNING)
AppInfoWindow::Draw(GetPlanetClickedMessage());

// Rendering ImGui
ImGui::Render();
Expand Down
2 changes: 0 additions & 2 deletions Source/EventManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ class EventManager
static void Shutdown();
static void SetApplicationState(ApplicationState state);
static ApplicationState GetApplicationState();
static void SetLoadingState(bool state);
static bool GetLoadingState();
static void SetPlanetClicked(std::string message);
static std::string GetPlanetClickedMessage();

Expand Down
2 changes: 0 additions & 2 deletions Source/World.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ class World

ApplicationState GetApplicationState();
void SetApplicationState(ApplicationState state);
bool GetLoadingState();
void SetLoadingState(bool state);
std::string GetPlanetClicked();
void SetPlanetClicked(std::string message);
int NumberOfPlanetsToGenerate();
Expand Down

0 comments on commit cec8229

Please sign in to comment.