diff --git a/example.cpp b/example.cpp new file mode 100644 index 0000000..e2b03ea --- /dev/null +++ b/example.cpp @@ -0,0 +1,42 @@ +#include "olcPixelGameEngine.h" + +using namespace olc; + +class Example : public olc::PixelGameEngine +{ +public: + Example() + { + sAppName = "Example"; + } + + bool OnUserCreate() override + { + return true; + } + + void OnTextEntryComplete(const std::string& sText)override{ + std::cout<<"Called."<