Rename Module to ModuleBase

This commit is contained in:
Jérôme Leclercq
2020-09-11 13:39:18 +02:00
parent a7fac3beb8
commit fd1d416510
20 changed files with 40 additions and 40 deletions

View File

@@ -24,7 +24,7 @@ namespace Nz
*/
Audio::Audio() :
Module("Audio", this)
ModuleBase("Audio", this)
{
// Initialisation of OpenAL
if (!OpenAL::Initialize())

View File

@@ -20,7 +20,7 @@ namespace Nz
*/
Core::Core() :
Module("Core", this, Module::NoLog{})
ModuleBase("Core", this, ModuleBase::NoLog{})
{
Log::Initialize();

View File

@@ -32,7 +32,7 @@ namespace Nz
*/
Network::Network() :
Module("Network", this)
ModuleBase("Network", this)
{
// Initialize module here
if (!SocketImpl::Initialize())

View File

@@ -8,7 +8,7 @@
namespace Nz
{
Physics2D::Physics2D() :
Module("Physics2D", this)
ModuleBase("Physics2D", this)
{
}

View File

@@ -14,7 +14,7 @@
namespace Nz
{
Physics3D::Physics3D() :
Module("Physics3D", this)
ModuleBase("Physics3D", this)
{
if (!Collider3D::Initialize())
throw std::runtime_error("failed to initialize colliders");

View File

@@ -18,7 +18,7 @@ namespace Nz
*/
Platform::Platform() :
Module("Platform", this)
ModuleBase("Platform", this)
{
if (!Window::Initialize())
throw std::runtime_error("failed to initialize window system");

View File

@@ -31,7 +31,7 @@
namespace Nz
{
Renderer::Renderer() :
Module("Renderer", this)
ModuleBase("Renderer", this)
{
struct RendererImplementations
{

View File

@@ -8,7 +8,7 @@
namespace Nz
{
Shader::Shader() :
Module("Shader", this)
ModuleBase("Shader", this)
{
}

View File

@@ -37,7 +37,7 @@ namespace Nz
*/
Utility::Utility() :
Module("Utility", this)
ModuleBase("Utility", this)
{
if (!Animation::Initialize())
throw std::runtime_error("failed to initialize animations");