Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (24 sloc) 0.676 kB
#pragma once
#include "renderer.h"
#include "inputhandler.h"
#include "shadermanager.h"
#include "modelmanager.h"
#include "gfxtimer.h"
#define DTGLIB_WINDOW_WIDTH 1280
#define DTGLIB_WINDOW_HEIGHT 800
class C_Singleton
{
private:
static C_Renderer* m_Renderer;
static C_InputHandler* m_InputHandler;
static C_ShaderManager* m_ShaderManager;
static C_ModelManager* m_ModelManager;
static C_GfxTimer* m_GfxTimer;
public:
static C_Renderer* M_Renderer();
static C_InputHandler* M_InputHandler();
static C_ShaderManager* M_ShaderManager();
static C_ModelManager* M_ModelManager();
static C_GfxTimer* M_GfxTimer();
static void M_DestroySingletons();
};
Jump to Line
Something went wrong with that request. Please try again.