Exemple #1
0
	void FKDraw()
	{
		for( unsigned int i = 0; i < LengthOf( m_pTextFields ); ++i )
		{
			m_pTextFields[i]->FKDraw( m_Timer.GetTime() );
		}

		m_pCursor->FKDraw( Input().MouseX(), Input().MouseY(), 0 );
	}
Exemple #2
0
	void FKDraw()
	{
		m_Player.FKDraw();
		m_pBackgroundImage->FKDraw( 0, 0, eZ_Backgroud );

		for( std::list<CStar>::const_iterator i = m_Stars.begin(); 
			i != m_Stars.end(); ++i )
		{
			i->FKDraw();
		}

		if( m_nLastFps != m_nFps )
		{
			m_nLastFps = m_nFps;
		}
		m_Font.FKDraw(L"FPS:" + boost::lexical_cast< std::wstring >( m_nLastFps ), 510, 10, eZ_UI, 1, 1, FK2DEngine::CColor::BLUE );

		m_Font.FKDraw( L"得分:" + boost::lexical_cast< std::wstring >( m_Player.GetScore()),
			10, 10, eZ_UI, 1, 1, FK2DEngine::CColor::YELLOW );
	}