Add Map render Ground and Above
Render layer Ground below and Above above Player.
This commit is contained in:
@@ -43,8 +43,9 @@ void MainGame::Update(sf::RenderWindow* window) {
|
||||
}
|
||||
|
||||
void MainGame::Render(sf::RenderWindow* window) {
|
||||
this->map->Render(window);
|
||||
this->map->RenderGround(window);
|
||||
this->entityManager->Render(window);
|
||||
this->map->RenderAbove(window);
|
||||
}
|
||||
|
||||
void MainGame::Destroy(sf::RenderWindow* window) {
|
||||
|
||||
Reference in New Issue
Block a user