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::GameCode Class Referenceabstract

#include <GameCode.h>

Public Member Functions

 GameCode ()
virtual ~GameCode ()
virtual bool Initialize ()=0
virtual bool LoadContent ()=0
virtual bool UnloadContent ()=0
virtual bool Update (GameTime *gameTime)=0
virtual bool Draw (GraphicsDevice *graphics)=0
GameContainerGetGame ()

Protected Attributes



class GameEngine

Constructor & Destructor Documentation

GameCode::GameCode ( )

Initialize the GameCode class

GameCode::~GameCode ( )

Destruct this instance of the GameCode class

Member Function Documentation

virtual bool CGF::GameCode::Draw ( GraphicsDevice graphics)
pure virtual
GameContainer * GameCode::GetGame ( )

Get the instance of this game

virtual bool CGF::GameCode::Initialize ( )
pure virtual
virtual bool CGF::GameCode::LoadContent ( )
pure virtual
virtual bool CGF::GameCode::UnloadContent ( )
pure virtual
virtual bool CGF::GameCode::Update ( GameTime gameTime)
pure virtual

Friends And Related Function Documentation

friend class GameEngine

Member Data Documentation

GameContainer* CGF::GameCode::m_game

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