![]() |
The LARC Game Engine
A Simple Game Engine from the Laboratory for Recreational Computing
|
The window descriptor. More...
#include <WindowDesc.h>
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. | |
CWindowDesc 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.
1.8.14