C++ Game Framework  2013-06-04
CGF is a DirectX 11 game framework, built in C++ and DirectX 11. This is used to contain many to the DirectX functionality and wrap them into a framework to make game development easier.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CGF::GameEngine Class Reference

#include <GameEngine.h>

Public Member Functions

 GameEngine ()
 ~GameEngine ()
bool Initialize (GameCode *code, const int windowWidth, const int windowHeight, const bool isWindowFullscreen)
void Shutdown ()
void Run ()

Constructor & Destructor Documentation

GameEngine::GameEngine ( )

Create an instance of the GameEngine

GameEngine::~GameEngine ( )

Deconstructor of the GameEngine

Member Function Documentation

bool GameEngine::Initialize ( GameCode gameCode,
const int  windowWidth,
const int  windowHeight,
const bool  isWindowFullscreen 

Initialize the GameEngine

gameCodeGame loging to run in the engine
windowWidthWidth of the window
windowHeightHeight of the window
isWindowFullscreenIs the window fullscreen? (ignores the above values if it is)
void GameEngine::Run ( )

Run the game

void GameEngine::Shutdown ( )

Shut down the GameEngine

The documentation for this class was generated from the following files: