Advertisement
Al99

LoaderParams.h

Nov 11th, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.61 KB | None | 0 0
  1. #ifndef __LoaderParams__
  2. #define __LoaderParams__
  3.  
  4. #include <string>
  5.  
  6. class LoaderParams
  7. {
  8.     public:
  9.     LoaderParams(int x, int y, int width, int height, std::string
  10.     textureID) : m_x(x), m_y(y), m_width(width), m_height(height),
  11.     m_textureID(textureID)
  12.     {
  13.     }
  14.    
  15.     int getX() const { return m_x; }
  16.     int getY() const { return m_y; }
  17.     int getWidth() const { return m_width; }
  18.     int getHeight() const { return m_height; }
  19.     std::string getTextureID() const { return m_textureID; }
  20.      
  21.      private:
  22.      int m_x;
  23.      int m_y;
  24.      int m_width;
  25.      int m_height;
  26.      std::string m_textureID;
  27. };
  28. #endif /*defined(LoaderParams)*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement