Add more Ground and Above layers

This commit is contained in:
Riyyi
2015-03-22 15:16:50 +01:00
parent 0aff9f62bb
commit cbf33e2ffa
6 changed files with 118 additions and 13 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ void MainGame::Update(sf::RenderWindow* window) {
this->player->Update(window, inputManager, timeElapsed);
this->entityManager->Update();
this->map->CheckCollision(window, this->player);
this->map->CheckCollision(this->player);
this->camera->Update(window, this->map, sf::Vector2f(this->player->getPosition().x, this->player->getPosition().y));
if(inputManager.IsPressed(InputManager::LoadMap)) {