The LARC Game Engine
A Simple Game Engine from the Laboratory for Recreational Computing
Static Protected Attributes | List of all members
LWindowDesc Class Reference

The window descriptor. More...

#include <WindowDesc.h>

Inheritance diagram for LWindowDesc:
LKeyboard LSound LTimer LWindow LRenderer3D LSpriteRenderer

Static Protected Attributes

static HWND m_Hwnd = 0
 Window handle.
 
static HINSTANCE m_hInst = 0
 Instance handle.
 
static bool m_bExitSizeMove
 User just finished moving/resizing window.
 

Detailed Description

LWindowDesc is a singleton class containing the game's instance handle and the window handle to the primary (in fact the only) window created by this application. Making it a singleton class means that we can avoid passing its member variables around as parameters, which makes the code minisculely faster, and more importantly, reduces function clutter.