fork download
  1. #include <SFML/Graphics.hpp>
  2.  
  3.  
  4.  
  5. class Resource
  6. {
  7. private:
  8.  
  9.  
  10.  
  11. public:
  12. static sf::Texture redPaddleTexture;
  13.  
  14.  
  15.  
  16.  
  17.  
  18. static void loadResources()
  19. {
  20. redPaddleTexture.loadFromFile("\\res\\img\\redPaddle.png");
  21.  
  22.  
  23. }
  24.  
  25.  
  26.  
  27. };
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty