コード例 #1
0
void Objects::renderObjects( )
{
	renderTank( );
	renderWeapon( );
	renderMonsters( ); 
	renderPackets( );
}
コード例 #2
0
/*This is the render loop
At this point, you should know exactly what to draw onto the screen, so just draw it!
To get an idea of the values for colours, look at console.h and the URL listed there*/
void render() {
    
	//Clears the current screen and draw from scratch.
	clearScreen();
    renderMap();
	renderShooter();
	renderCharacter(mummy.charDirection);
	renderBoxes();
	renderMonsters();
	renderMessages();

	//Dump the contents of the buffer to the screen. One frame worth of the game.
    renderToScreen();

}