project2D/Map.cpp
//--------------------------------------------------------------------------------------
// Draw: A virtual function from entity to render (or "draw") objects to the screen.
//
// Param:
//		renderer2D: a pointer to Renderer2D for rendering objects to screen.
//--------------------------------------------------------------------------------------
A virtual function from entity to render (or "draw") objects to the screen.
Param:
renderer2D: a pointer to Renderer2D for rendering objects to screen.
A virtual function from entity to render ( or " draw " ) objects to the screen . Param : renderer2D : a pointer to Renderer2D for rendering objects to screen .
void Map::Draw(Renderer2D* renderer2D)
{
	wall1->Draw(renderer2D);
	wall2->Draw(renderer2D);
	wall3->Draw(renderer2D);
	wall4->Draw(renderer2D);
}
void Map :: Draw ( Renderer2D * renderer2D ) { wall1 -> Draw ( renderer2D ) ; wall2 -> Draw ( renderer2D ) ; wall3 -> Draw ( renderer2D ) ; wall4 -> Draw ( renderer2D ) ; }
Draw: A virtual function from entity to render (or "draw") objects to the screen.
Draw : A virtual function from entity to render ( or " draw " ) objects to the screen .