diff --git a/block.hpp b/block.hpp index ef55546..94bf81c 100644 --- a/block.hpp +++ b/block.hpp @@ -1,9 +1,9 @@ #ifndef PTF_BLOCK_HPP #define PTF_BLOCK_HPP -#include "object.hpp" #include #include +#include "object.hpp" class Block : public Object { public: @@ -13,6 +13,13 @@ public: * Dessin du bloc dans la fenêtre donnée */ void draw(sf::RenderWindow& window); + + /** + * Détermine la couche d'affichage de l'objet + */ + unsigned int getLayer() { + return 0; + } }; #endif