From 1cb80fc6f93c2c19a29cdec0624aa1a5afe4b1e4 Mon Sep 17 00:00:00 2001 From: Javidx9 <25419386+OneLoneCoder@users.noreply.github.com> Date: Fri, 7 Sep 2018 20:56:19 +0100 Subject: [PATCH] Delete Testing.cpp --- Testing.cpp | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 Testing.cpp diff --git a/Testing.cpp b/Testing.cpp deleted file mode 100644 index 3222312..0000000 --- a/Testing.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "olcPixelGameEngine.h" - -class Example : public olc::PixelGameEngine -{ -public: - Example() - { - sAppName = "Example"; - } - -public: - bool OnUserCreate() override - { - // Called once at the start, so create things here - return true; - } - - bool OnUserUpdate(float fElapsedTime) override - { - // called once per frame - for (int x = 0; x < ScreenWidth(); x++) - for (int y = 0; y < ScreenHeight(); y++) - Draw(x, y, olc::Pixel(rand() % 255, rand() % 255, rand()% 255)); - return true; - } -}; - - -int main() -{ - Example demo; - if (demo.Construct(256, 240, 4, 4)) - demo.Start(); - - return 0; -}