Advertisement
Threonine

Bois.h

Oct 10th, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.43 KB | None | 0 0
  1. #ifndef DEF_BOIS
  2. #define DEF_BOIS
  3.  
  4. #include <SFML/Graphics.hpp>
  5. #include <string>
  6.  
  7. class Bois : public sf::Drawable, public sf::Transformable{
  8.     public :
  9.         bool load(const std::string& fichier, sf::Vector2u tailleTuile, int *tuiles, int largeur, int hauteur);
  10.        
  11.     private :
  12.         virtual void draw(sf::RenderTarget &target, sf::RenderStates states) const;
  13.        
  14.         sf::VertexArray m_vertices;
  15.         sf::Texture m_texture;
  16. };
  17.  
  18. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement