begin MainMenuState
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include <chrono>
|
||||
#include <td/display/state/DebugWorldState.h>
|
||||
#include <td/display/state/MainMenuState.h>
|
||||
|
||||
float GetDelta() {
|
||||
static std::chrono::time_point<std::chrono::system_clock> m_LastTime = std::chrono::system_clock::now();
|
||||
@@ -13,7 +13,7 @@ int main(int argc, char** argv) {
|
||||
// init GL context
|
||||
td::Display display(1920, 1080, "Tower-Defense 2");
|
||||
|
||||
display.ChangeState<td::DebugWorldState>();
|
||||
display.ChangeState<td::MainMenuState>();
|
||||
|
||||
while (!display.IsCloseRequested()) {
|
||||
display.PollEvents();
|
||||
|
||||
Reference in New Issue
Block a user