Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef __LoaderParams__
- #define __LoaderParams__
- #include <string>
- class LoaderParams
- {
- public:
- LoaderParams(int x, int y, int width, int height, std::string
- textureID) : m_x(x), m_y(y), m_width(width), m_height(height),
- m_textureID(textureID)
- {
- }
- int getX() const { return m_x; }
- int getY() const { return m_y; }
- int getWidth() const { return m_width; }
- int getHeight() const { return m_height; }
- std::string getTextureID() const { return m_textureID; }
- private:
- int m_x;
- int m_y;
- int m_width;
- int m_height;
- std::string m_textureID;
- };
- #endif /*defined(LoaderParams)*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement