This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
NFRev1/Game/src/Game.cpp
Grayson Riffe (Laptop) e8bc0903e6 Added state changing
2021-08-18 13:54:06 -05:00

24 lines
439 B
C++

#include "NothinFancy.h"
#include "MainState.h"
using namespace nf;
int main(int argc, char* argv[]) {
//TODO: Argument parser
Config conf = { 1280, 720, false, "Test"};
Application app(conf);
//app.setWindowIcon(...);
// app.setWindowCursor(...);
//Configure states
// app.addDefaultState(...);
MainState* test = new MainState;
app.addState("Main State", test);
app.addDefaultState("Main State");
app.run();
return 0;
}