Correction de l'affichage des blocs (forme carrée au lieu de cercle)

This commit is contained in:
Mattéo Delabre 2016-03-10 22:48:13 +01:00
parent 2455c2f845
commit 52ae4c26b3
1 changed files with 3 additions and 3 deletions

View File

@ -8,10 +8,10 @@
class Block : public Object { class Block : public Object {
protected: protected:
sf::CircleShape shape; sf::RectangleShape shape;
public: public:
Block(float x, float y) : Object(x,y), shape(80,4) { Block(float x, float y) : Object(x,y), shape(sf::Vector2f(32, 32)) {
shape.setFillColor(sf::Color(0, 0, 0)); shape.setFillColor(sf::Color(0, 0, 0));
} }