Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef DEF_BOIS
- #define DEF_BOIS
- #include <SFML/Graphics.hpp>
- #include <string>
- class Bois : public sf::Drawable, public sf::Transformable{
- public :
- bool load(const std::string& fichier, sf::Vector2u tailleTuile, int *tuiles, int largeur, int hauteur);
- private :
- virtual void draw(sf::RenderTarget &target, sf::RenderStates states) const;
- sf::VertexArray m_vertices;
- sf::Texture m_texture;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement