Déplacement des balles et blocs sur la même couche
This commit is contained in:
parent
ce2f0f2d0e
commit
ea42340ab3
|
@ -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) {
|
||||||
|
|
|
@ -38,5 +38,5 @@ std::unique_ptr<sf::FloatRect> Block::getAABB() {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int Block::getLayer() {
|
unsigned int Block::getLayer() {
|
||||||
return 0;
|
return 10;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue