|
#include "stdafx.h"
#include "Tool.h"
CTool::CTool(void)
:m_pScene(NULL)
,m_pWinGraphicContext(NULL)
,m_nStep(0)
,m_bIsFinished(false)
,m_bIsStarted(false)
{
}
CTool::~CTool(void)
{
}
//Operations
void CTool::OnFinalize()
{
m_nStep = 0;
m_bIsFinished = true;
m_bIsStarted = false;
m_pScene = NULL;
}
//Getters
oag::OAGScene* CTool::GetScene()
{
return m_pScene;
}
//Setters
void CTool::SetScene(oag::OAGScene* pScene)
{
m_pScene = pScene;
}
void CTool::SetWinGraphicContext(oag::WinGraphicContext* pWinGraphicContext)
{
m_pWinGraphicContext = pWinGraphicContext;
}
//Booleans
bool CTool::IsFinished()
{
return m_bIsFinished;
}
bool CTool::IsStarted()
{
return m_bIsStarted;
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I live in Matão, a small city in Brazil. I studied as Programmer in a College for Software Development in Database.
After finishing the College I have been working with java, c# and Computer Graphics with searches for OpenGL.