Beispiel #1
0
/* Draw the changes to the screen.
Remove the changing objects, redraw the strings and draw the changing objects again.
 */
void BaseEngine::DrawChanges()
{
	// Remove objects from their old positions
	UndrawChangingObjects();
	// Draw the text for the user
	DrawStrings();
	// Draw objects at their new positions
	DrawChangingObjects();
}
Beispiel #2
0
/* Draw the changes to the screen.
Remove the changing objects, redraw the strings and draw the changing objects again.
 */
void Demo4Main::DrawChanges()
{
	// NEW IF
	if ( m_state == stateInit )
		return; // Do not draw objects if initialising

	// Remove objects from their old positions
	UndrawChangingObjects();
	// Draw the text for the user
	DrawStrings();
	// Draw objects at their new positions
	DrawChangingObjects();
}