Ajout de la fonction Block::draw

This commit is contained in:
Mattéo Delabre 2016-03-10 22:16:07 +01:00
parent 84ba1aa821
commit e8193af1c9
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
#include "block.hpp" #include "block.hpp"
void Block::draw(sf::RenderWindow& window) { void Block::draw(sf::RenderWindow& window) {
// TODO: implémenter cette fonction shape.setPosition(position * 32.f);
window.draw(shape);
} }
void Block::update(State state) { void Block::update(State state) {