Agrandissement de la scène

This commit is contained in:
Mattéo Delabre 2016-03-18 18:41:18 +01:00
parent 626d943a5a
commit 11719895c0
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#include <queue> #include <queue>
Engine::Engine() : window( Engine::Engine() : window(
sf::VideoMode(400, 300), "Projet CMI", sf::VideoMode(800, 600), "Projet CMI",
sf::Style::Default & ~sf::Style::Resize, sf::Style::Default & ~sf::Style::Resize,
sf::ContextSettings(0, 0, 2) sf::ContextSettings(0, 0, 2)
) { ) {

View File

@ -8,6 +8,7 @@ int main() {
Engine engine; Engine engine;
Ball ball(3 * Constants::GRID, 1 * Constants::GRID); Ball ball(3 * Constants::GRID, 1 * Constants::GRID);
Block block1(3 * Constants::GRID, 6 * Constants::GRID); Block block1(3 * Constants::GRID, 6 * Constants::GRID);
Block block2(3 * Constants::GRID, 7 * Constants::GRID); Block block2(3 * Constants::GRID, 7 * Constants::GRID);
Block block3(4 * Constants::GRID, 7 * Constants::GRID); Block block3(4 * Constants::GRID, 7 * Constants::GRID);