Déplacement des balles et blocs sur la même couche

This commit is contained in:
Mattéo Delabre 2016-03-14 21:23:04 +01:00
parent ce2f0f2d0e
commit ea42340ab3
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ std::unique_ptr<sf::FloatRect> Ball::getAABB() {
} }
unsigned int Ball::getLayer() { unsigned int Ball::getLayer() {
return 1; return 10;
} }
sf::Vector2f Ball::getForces(EngineState& state) { sf::Vector2f Ball::getForces(EngineState& state) {

View File

@ -38,5 +38,5 @@ std::unique_ptr<sf::FloatRect> Block::getAABB() {
} }
unsigned int Block::getLayer() { unsigned int Block::getLayer() {
return 0; return 10;
} }