Ajout de la couche de Block
This commit is contained in:
parent
d6e39b2e45
commit
536e63dde3
|
@ -1,9 +1,9 @@
|
|||
#ifndef PTF_BLOCK_HPP
|
||||
#define PTF_BLOCK_HPP
|
||||
|
||||
#include "object.hpp"
|
||||
#include <SFML/Graphics.hpp>
|
||||
#include <iostream>
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue