From ea42340ab34f92b224aeb5fe2b0f874d58d42e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Delabre?= Date: Mon, 14 Mar 2016 21:23:04 +0100 Subject: [PATCH] =?UTF-8?q?D=C3=A9placement=20des=20balles=20et=20blocs=20?= =?UTF-8?q?sur=20la=20m=C3=AAme=20couche?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ball.cpp | 2 +- src/block.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ball.cpp b/src/ball.cpp index 9f2a379..3fa8137 100644 --- a/src/ball.cpp +++ b/src/ball.cpp @@ -28,7 +28,7 @@ std::unique_ptr Ball::getAABB() { } unsigned int Ball::getLayer() { - return 1; + return 10; } sf::Vector2f Ball::getForces(EngineState& state) { diff --git a/src/block.cpp b/src/block.cpp index 2da0fde..0ff8238 100644 --- a/src/block.cpp +++ b/src/block.cpp @@ -38,5 +38,5 @@ std::unique_ptr Block::getAABB() { } unsigned int Block::getLayer() { - return 0; + return 10; }