Agrandissement de la zone par défaut des nouveaux niveaux

This commit is contained in:
Mattéo Delabre 2016-04-17 21:19:13 +02:00
parent f0947fd510
commit 89e1f0b30b
1 changed files with 6 additions and 4 deletions

View File

@ -160,10 +160,12 @@ Level::Level(Manager& manager) : State(manager) {
setTotalTime(30);
// zone de jeu par défaut
zone.push_back(sf::Vector2f(-128, -128));
zone.push_back(sf::Vector2f(128, -128));
zone.push_back(sf::Vector2f(128, 128));
zone.push_back(sf::Vector2f(-128, 128));
int size = 8;
zone.push_back(sf::Vector2f(-size * Manager::GRID, -size * Manager::GRID));
zone.push_back(sf::Vector2f(size * Manager::GRID, -size * Manager::GRID));
zone.push_back(sf::Vector2f(size * Manager::GRID, size * Manager::GRID));
zone.push_back(sf::Vector2f(-size * Manager::GRID, size * Manager::GRID));
// ressources par défaut
setMusic("");