add cpp function

This commit is contained in:
jiang xiaohua 2013-03-02 16:31:19 +08:00
parent 5feeaf024e
commit a959986e5e
1 changed files with 4 additions and 1 deletions

View File

@ -291,7 +291,10 @@ void CCDirector::calculateDeltaTime(void)
*m_pLastUpdate = now;
}
float CCDirector::getDeltaTime()
{
return m_fDeltaTime;
}
void CCDirector::setOpenGLView(CCEGLView *pobOpenGLView)
{
CCAssert(pobOpenGLView, "opengl view should not be null");