From f9f764ed51bce7b02afd93d0f543c658b4cf1302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Delabre?= Date: Wed, 9 Mar 2016 19:54:24 +0100 Subject: [PATCH] Suppression des constructeurs dans Ball & Block --- ball.cpp | 4 ---- ball.hpp | 2 -- block.cpp | 4 ---- block.hpp | 2 -- 4 files changed, 12 deletions(-) diff --git a/ball.cpp b/ball.cpp index 544c1ad..7e430dc 100644 --- a/ball.cpp +++ b/ball.cpp @@ -1,9 +1,5 @@ #include "ball.hpp" -Ball::Ball() { - // TODO: implémenter cette fonction -} - void Ball::draw(sf::RenderWindow& window) { // TODO: implémenter cette fonction } diff --git a/ball.hpp b/ball.hpp index 7e79f62..95c4c14 100644 --- a/ball.hpp +++ b/ball.hpp @@ -17,8 +17,6 @@ protected: static constexpr float MOVE = 10; public: - Ball(); - /** * Dessine la balle dans la fenêtre donnée */ diff --git a/block.cpp b/block.cpp index 71f89e9..9a94310 100644 --- a/block.cpp +++ b/block.cpp @@ -1,9 +1,5 @@ #include "block.hpp" -Block::Block() { - // TODO: implémenter cette fonction -} - void Block::draw(sf::RenderWindow& window) { // TODO: implémenter cette fonction } diff --git a/block.hpp b/block.hpp index 93f08e6..b5e7ac1 100644 --- a/block.hpp +++ b/block.hpp @@ -8,8 +8,6 @@ class Block : public Object { public: - Block(); - /** * Dessin du bloc dans la fenêtre donnée */