Fixed threading bug and rewrote syntax of addState

This commit is contained in:
grayson committed 2021-08-19 11:25:03 -05:00
1 parent a21c24040d
commit 9bfbfb637b
3 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ namespace nf {
void setWindowIcon(HANDLE hIcon);
void setWindowCursor(HCURSOR hCursor);
void addState(const char* stateName, IGamestate* state);
void addState(IGamestate* state, const char* stateName);
void addDefaultState(const char* stateName);
void changeState(const char* stateName);
void run();