Adding a no renderer

This commit is contained in:
AnonymusRaccoon
2020-02-05 15:49:44 +01:00
parent 52f1d9fe6e
commit 75b3b53a52
3 changed files with 66 additions and 1 deletions
+31
View File
@@ -0,0 +1,31 @@
//
// Created by anonymus-raccoon on 2/5/20.
//
#include "NoRenderer.hpp"
namespace ComSquare::Renderer
{
void NoRenderer::setWindowName(std::string newWindowName)
{
(void)newWindowName;
}
void NoRenderer::drawScreen() { }
void NoRenderer::putPixel(unsigned y, unsigned x, uint32_t rgba)
{
(void)x;
(void)y;
(void)rgba;
}
void NoRenderer::getEvents() { }
NoRenderer::NoRenderer(unsigned int height, unsigned int width, int maxFPS)
{
(void)height;
(void)width;
(void)maxFPS;
}
}