From 11719895c0dfa87feaef7387d7f43a0587120d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Delabre?= Date: Fri, 18 Mar 2016 18:41:18 +0100 Subject: [PATCH] =?UTF-8?q?Agrandissement=20de=20la=20sc=C3=A8ne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/engine.cpp | 2 +- src/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine.cpp b/src/engine.cpp index 587d4d6..524ec0a 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -3,7 +3,7 @@ #include Engine::Engine() : window( - sf::VideoMode(400, 300), "Projet CMI", + sf::VideoMode(800, 600), "Projet CMI", sf::Style::Default & ~sf::Style::Resize, sf::ContextSettings(0, 0, 2) ) { diff --git a/src/main.cpp b/src/main.cpp index 72a53a0..f50a302 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -8,6 +8,7 @@ int main() { Engine engine; Ball ball(3 * Constants::GRID, 1 * Constants::GRID); + Block block1(3 * Constants::GRID, 6 * Constants::GRID); Block block2(3 * Constants::GRID, 7 * Constants::GRID); Block block3(4 * Constants::GRID, 7 * Constants::GRID);