diff --git a/headers/enduro2d/core/_all.hpp b/headers/enduro2d/core/_all.hpp index fcc494db..42b5b1a7 100644 --- a/headers/enduro2d/core/_all.hpp +++ b/headers/enduro2d/core/_all.hpp @@ -10,5 +10,6 @@ #include "debug.hpp" #include "input.hpp" +#include "render.hpp" #include "vfs.hpp" #include "window.hpp" diff --git a/headers/enduro2d/core/_core.hpp b/headers/enduro2d/core/_core.hpp index 3267910c..6a69186a 100644 --- a/headers/enduro2d/core/_core.hpp +++ b/headers/enduro2d/core/_core.hpp @@ -16,6 +16,7 @@ namespace e2d class mouse; class keyboard; class input; + class render; class vfs; class window; } diff --git a/headers/enduro2d/core/render.hpp b/headers/enduro2d/core/render.hpp new file mode 100644 index 00000000..0aaaac86 --- /dev/null +++ b/headers/enduro2d/core/render.hpp @@ -0,0 +1,18 @@ +/******************************************************************************* + * This file is part of the "Enduro2D" + * For conditions of distribution and use, see copyright notice in LICENSE.md + * Copyright (C) 2018 Matvey Cherevko + ******************************************************************************/ + +#pragma once + +#include "_core.hpp" + +namespace e2d +{ + class render final : public module { + public: + render(); + ~render(); + }; +} diff --git a/sources/enduro2d/core/render.cpp b/sources/enduro2d/core/render.cpp new file mode 100644 index 00000000..69d92bcf --- /dev/null +++ b/sources/enduro2d/core/render.cpp @@ -0,0 +1,16 @@ +/******************************************************************************* + * This file is part of the "Enduro2D" + * For conditions of distribution and use, see copyright notice in LICENSE.md + * Copyright (C) 2018 Matvey Cherevko + ******************************************************************************/ + +#include + +namespace e2d +{ + render::render() { + } + + render::~render() { + } +} diff --git a/untests/sources/untests_core/render.cpp b/untests/sources/untests_core/render.cpp new file mode 100644 index 00000000..036d817d --- /dev/null +++ b/untests/sources/untests_core/render.cpp @@ -0,0 +1,11 @@ +/******************************************************************************* + * This file is part of the "Enduro2D" + * For conditions of distribution and use, see copyright notice in LICENSE.md + * Copyright (C) 2018 Matvey Cherevko + ******************************************************************************/ + +#include "_core.hpp" +using namespace e2d; + +TEST_CASE("render"){ +}