Ajout de la couche de Block
This commit is contained in:
parent
d6e39b2e45
commit
536e63dde3
|
@ -1,9 +1,9 @@
|
||||||
#ifndef PTF_BLOCK_HPP
|
#ifndef PTF_BLOCK_HPP
|
||||||
#define PTF_BLOCK_HPP
|
#define PTF_BLOCK_HPP
|
||||||
|
|
||||||
#include "object.hpp"
|
|
||||||
#include <SFML/Graphics.hpp>
|
#include <SFML/Graphics.hpp>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include "object.hpp"
|
||||||
|
|
||||||
class Block : public Object {
|
class Block : public Object {
|
||||||
public:
|
public:
|
||||||
|
@ -13,6 +13,13 @@ public:
|
||||||
* Dessin du bloc dans la fenêtre donnée
|
* Dessin du bloc dans la fenêtre donnée
|
||||||
*/
|
*/
|
||||||
void draw(sf::RenderWindow& window);
|
void draw(sf::RenderWindow& window);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Détermine la couche d'affichage de l'objet
|
||||||
|
*/
|
||||||
|
unsigned int getLayer() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue