2016-03-08 21:49:52 +00:00
|
|
|
#include "block.hpp"
|
2016-03-08 16:46:33 +00:00
|
|
|
|
2016-03-08 17:07:34 +00:00
|
|
|
void Block::draw(sf::RenderWindow& window) {
|
2016-03-10 21:16:07 +00:00
|
|
|
shape.setPosition(position * 32.f);
|
|
|
|
window.draw(shape);
|
2016-03-08 17:07:34 +00:00
|
|
|
}
|
2016-03-08 18:50:55 +00:00
|
|
|
|
|
|
|
void Block::update(State state) {
|
|
|
|
// rien à mettre à jour
|
|
|
|
}
|